Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jfranciscos4/2ced1094fcea92a40991274fc6f3e243 to your computer and use it in GitHub Desktop.
Save jfranciscos4/2ced1094fcea92a40991274fc6f3e243 to your computer and use it in GitHub Desktop.
Install composer on Amazon AMI running on 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
then you can run
$ sudo composer install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment