-
-
Save ajaxboy/016a44928a0049a12b2f98a7e3e23092 to your computer and use it in GitHub Desktop.
Installing composer using curl
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
# Goto a directory you can write to: | |
cd ~ | |
#get composer: | |
curl -s https://getcomposer.org/installer | php | |
# move composer into a bin directory you control: | |
sudo mv composer.phar /usr/local/bin/composer | |
# double check composer works | |
composer about | |
# (optional) Update composer: | |
sudo composer self-update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment