Sudo mv composer.phar /usr/local/bin/composerįor details, see the instructions on how to install Composer globally.
Most likely, you want to put the composer.phar into a directory on your PATH, so you can simply call composer from any directory ( Global install), using for example: