I am trying to install composer on my Mac so that I can use the Laravel framework. I successfully downloaded composer through the terminal, and then I moved composer.phar t
Make sure that /usr/local/bin is in your $PATH
/usr/local/bin
$PATH
$ echo $PATH
Then execute
$ curl -sS https://getcomposer.org/installer | php $ sudo mv composer.phar /usr/local/bin/composer ^^^^^^^^ you didn't rename it
For reference see