Created
July 30, 2014 16:15
-
-
Save sangar82/cfd82baf1504ddb20429 to your computer and use it in GitHub Desktop.
Composer update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -sS https://getcomposer.org/installer | php | |
$ (sudo) mv composer.phar /usr/local/bin/composer | |
Manual Method | |
I found an easier way to globally install composer than the manual proscribed in the github readme.md. It's actually on the getcomposer.org website: | |
$ curl -s http://getcomposer.org/installer | php | |
$ sudo mv composer.phar /usr/local/bin/composer.phar | |
And if you're even more lazy, like me, you can create an alias: | |
$ alias composer='/usr/local/bin/composer.phar' | |
This way you can invoke composer with just composer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment