Skip to content

Instantly share code, notes, and snippets.

@gfonseca
Last active September 14, 2017 18:26
Show Gist options
  • Save gfonseca/0b8fa4d091785720304f7cd5aac49fd2 to your computer and use it in GitHub Desktop.
Save gfonseca/0b8fa4d091785720304f7cd5aac49fd2 to your computer and use it in GitHub Desktop.
#!/bin/bash
## Usage: $ wget -O - git.io/v5H1h|source /dev/stdin
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php -r "unlink('composer-setup.php');"
chmod +x ./composer.phar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment