Skip to content

Instantly share code, notes, and snippets.

@BernardoSilva
Created September 5, 2013 16:13
Show Gist options
  • Save BernardoSilva/6452347 to your computer and use it in GitHub Desktop.
Save BernardoSilva/6452347 to your computer and use it in GitHub Desktop.
These are the steps to install composer on MAC OS X to work with MAMP php
# 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