Skip to content

Instantly share code, notes, and snippets.

@jechav
Forked from matthewpizza/install-composer.sh
Last active April 26, 2016 23:07
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 jechav/384258566d8ca60445242a9e7e17d950 to your computer and use it in GitHub Desktop.
Save jechav/384258566d8ca60445242a9e7e17d950 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