Created
January 23, 2014 23:11
-
-
Save odiel/8588731 to your computer and use it in GitHub Desktop.
This file contains 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 -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 | |
Update: Composer now offers another method as well on the website: | |
$ curl -sS https://getcomposer.org/installer | php | |
$ (sudo) mv composer.phar /usr/local/bin/composer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment