Composer missing after upgrading to OS X 10.11 El Captian

Wednesday, November 4, 2015

So simply put. I did an in-place update from 10.10.5 to 10.11.1 recently and just discovered that my composer package manager is no longer working.



I've tried a number of solutions and have it installed into the correct directory, but my alias 'composer' which was set globally is now not able to find the composer file.



Following the steps as always



First, Download



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


Then move



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


Then update bash_profile



vim ~/.bash_profile


Finally add alias



alias composer="php /usr/local/bin/composer.phar"


And my end result, when calling composer is this



Could not open input file: /usr/local/bin/composer/


Any ideas why this might happen?

0 comments:

Post a Comment