Skip to content

Instantly share code, notes, and snippets.

@pjrobertson
Forked from matthewpizza/install-composer.sh
Created February 18, 2016 09:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pjrobertson/319eb2a096732bd57e7d to your computer and use it in GitHub Desktop.
Save pjrobertson/319eb2a096732bd57e7d to your computer and use it in GitHub Desktop.
Install Composer on Webfaction
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