Created
July 14, 2020 07:11
-
-
Save einnar82/0d917d1819fbd330d339c4d92b80ff6c to your computer and use it in GitHub Desktop.
Install composer on Amazon AMI running on EC2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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