Skip to content

Instantly share code, notes, and snippets.

@wozzup
Created October 19, 2013 18:10
Show Gist options
  • Save wozzup/7059400 to your computer and use it in GitHub Desktop.
Save wozzup/7059400 to your computer and use it in GitHub Desktop.
MAMP composer
sudo nano ~/.bash_profile
# add PATH
export PATH="/Applications/MAMP/bin/php/php5.4.10/bin:$PATH"
# run
. .bash_profile
# test
which php
cd /usr/local/bin
curl -sS https://getcomposer.org/installer | php
sudo chmod a+x composer.phar
cd /yourProject/path
composer.phar install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment