ubuntu install composer

Shell
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"sudo apt-get updatemixed
Source

Also in Shell: