This is just a friendly tip on how to make Composer (a PHP dependency manager) globally available on your machine. All you really need to do is make sure to place the composer.phar file to a directory contained within your PATH environmental variable:
# install composer curl -s https://getcomposer.org/installer | php # possible paths: /usr/bin, /usr/local/bin, /bin sudo mv composer.phar /usr/local/bin/composer
Now you can simply run
composer from anywhere on your system terminal/console.