where do you install composer

Shell
// Adding permissions after installing Composer on Mac OSX
sudo chmod 755 /usr/local/bin/composer.phar
Source

Also in Shell: