Skip to content

Instantly share code, notes, and snippets.

@adammendoza
Forked from pjrobertson/install-composer.sh
Created February 13, 2019 08:44
Show Gist options
  • Save adammendoza/aa291b98788f217249ad3f110d0683f2 to your computer and use it in GitHub Desktop.
Save adammendoza/aa291b98788f217249ad3f110d0683f2 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