Skip to content

Instantly share code, notes, and snippets.

@brettalton
Forked from matthewpizza/install-composer.sh
Last active February 25, 2016 10:18
Show Gist options
  • Save brettalton/196ed7e11adebeb22c81 to your computer and use it in GitHub Desktop.
Save brettalton/196ed7e11adebeb22c81 to your computer and use it in GitHub Desktop.
Install Composer on Webfaction
# Updated for Webfaction in December 2015 when PHP 5.4-5.6 are available and PHP 5.6 is the default 'php' executable
cd $HOME
curl -sS https://getcomposer.org/installer | php
echo -e "\n# Composer\nalias composer=\"php \$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