Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124

PHP Composer – Command Not Found

Composer lets you manage PHP package dependencies on a per-project basis.

You install Composer like so:

sudo curl -sS https://getcomposer.org/installer | php

Moved it to the suggested location:

mv composer.phar /usr/local/bin/composer

Still got “composer: command not found” when verifying the install?

Simply create a link to the /usr/bin location and voila!

sudo ln -s /usr/local/bin/composer /usr/bin/composer