install composer in linux curl code example
Example 1: ubuntu install composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
Example 2: composer install ubuntu
sudo mv composer.phar /usr/local/bin/composermixed
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
sudo mv composer.phar /usr/local/bin/composermixed