Skip to content

Instantly share code, notes, and snippets.

@adamanthil
Created February 10, 2016 20:02
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 adamanthil/9eb22ec8d611d1841107 to your computer and use it in GitHub Desktop.
Save adamanthil/9eb22ec8d611d1841107 to your computer and use it in GitHub Desktop.
Install PHP Composer globally on OSX
# Install php composer on OSX:
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin
# Add alias in .bashrc / .zshrc etc:
alias composer='php /usr/local/bin/composer.phar'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment