Skip to content

Instantly share code, notes, and snippets.

@vivianspencer
Forked from matthewpizza/install-composer.sh
Last active August 29, 2015 14:16
Show Gist options
  • Save vivianspencer/ccedabe1019aa520e4ed to your computer and use it in GitHub Desktop.
Save vivianspencer/ccedabe1019aa520e4ed to your computer and use it in GitHub Desktop.
cd $HOME
ln -s `which php54` ~/bin/php
export PATH=$HOME/bin:$PATH
curl -sS https://getcomposer.org/installer | php54
echo -e "\n# Composer\nalias composer=\"php54 \$HOME/composer.phar\"" >> $HOME/.bash_profile
source $HOME/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment