Skip to content

Instantly share code, notes, and snippets.

@blueridgemountains1
Last active October 5, 2018 16:32
Show Gist options
  • Save blueridgemountains1/d938181473d3a90251e0d661b30f40c8 to your computer and use it in GitHub Desktop.
Save blueridgemountains1/d938181473d3a90251e0d661b30f40c8 to your computer and use it in GitHub Desktop.
Install composer on a linux machine
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php --install-dir=/bin --filename=composer
#mv composer.phar /usr/local/bin/composer
rm composer-setup.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment