Skip to content

Instantly share code, notes, and snippets.

@camfindlay
Forked from pwenzel/0. mamp_install_composer.bash
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save camfindlay/0d1c0d079b2d4ffb3fff to your computer and use it in GitHub Desktop.
Save camfindlay/0d1c0d079b2d4ffb3fff to your computer and use it in GitHub Desktop.
Global composer install for MAMP Users on OSX
# Global composer install for MAMP Users on OSX
# http://getcomposer.org/doc/00-intro.md#globally
# For PHP 5.4 Use:
# alias php=/Applications/MAMP/bin/php/php5.4.4/bin/php;
alias php=/Applications/MAMP/bin/php/php5.3.6/bin/php;
curl -sS https://getcomposer.org/installer | php;
mv composer.phar /usr/local/bin/composer;
composer help;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment