install composer unix code example
Example 1: ubuntu install composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
Example 2: where do you install composer
// Adding permissions after installing Composer on Mac OSX
sudo chmod 755 /usr/local/bin/composer.phar