Created
March 8, 2016 06:17
-
-
Save anasabbasi/b06d48a76c56ffa6980f to your computer and use it in GitHub Desktop.
Install Composer globally with MAMP on Mac OS X
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
nano ~/.bash_profile | |
# remember to check php version being used | |
alias phpmamp='/Applications/MAMP/bin/php/php5.4.10/bin/php' | |
curl -sS https://getcomposer.org/installer | phpmamp | |
sudo mv composer.phar /usr/local/bin/composer | |
composer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment