Skip to content

Instantly share code, notes, and snippets.

@riceo
Created March 18, 2013 13:36
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 riceo/5187177 to your computer and use it in GitHub Desktop.
Save riceo/5187177 to your computer and use it in GitHub Desktop.
Install PHP composer globally.
#!/bin/bash
mkdir /opt/composer
curl -sS https://getcomposer.org/installer | php -- --install-dir=/opt/composer
ln -s /opt/composer/composer.phar /usr/bin/composer
composer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment