Skip to content

Instantly share code, notes, and snippets.

@PaulKish
Forked from matthewpizza/install-composer.sh
Last active June 24, 2016 12:17
Show Gist options
  • Save PaulKish/cc948a29a2a2d1353ed55d7f56199a90 to your computer and use it in GitHub Desktop.
Save PaulKish/cc948a29a2a2d1353ed55d7f56199a90 to your computer and use it in GitHub Desktop.
Install Composer on Webfaction
cd $HOME
ln -s `which php56` ~/bin/php
export PATH=$HOME/bin:$PATH
curl -sS https://getcomposer.org/installer | php56
echo -e "\n# Composer\nalias composer=\"php56 \$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