Skip to content

Instantly share code, notes, and snippets.

@paoloumali
Last active August 29, 2015 14:05
Show Gist options
  • Save paoloumali/bd1887afd67601f4bd86 to your computer and use it in GitHub Desktop.
Save paoloumali/bd1887afd67601f4bd86 to your computer and use it in GitHub Desktop.
composer php56
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