Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rpuglielli/53fc9ec7bf93e1e556d17c4703311ece to your computer and use it in GitHub Desktop.
Save rpuglielli/53fc9ec7bf93e1e556d17c4703311ece to your computer and use it in GitHub Desktop.
Tutorial: Install composer globally on Amazon Linux AMI (EC2)
$ cd ~
$ sudo curl -sS https://getcomposer.org/installer | sudo php
$ sudo mv composer.phar /usr/local/bin/composer
$ sudo ln -s /usr/local/bin/composer /usr/bin/composer
# now you can run
$ composer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment