Skip to content

Instantly share code, notes, and snippets.

@asugai
Last active May 14, 2024 15:14
Show Gist options
  • Save asugai/6694502 to your computer and use it in GitHub Desktop.
Save asugai/6694502 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
@fpultera
Copy link

Thanks!

@pankaj-torinit
Copy link

Thanks!!

@mikenk2010
Copy link

work like a charm

@adamcrampton
Copy link

Legend, thank you 🔥

@eduanmoldeep
Copy link

Thanks, Champ! Worked well and surprisingly Simple.

@fadilxcoder
Copy link

Thank you.

@Plinsboorg
Copy link

Thanks.

@Shashi99rocky
Copy link

Than u

@siddharth-prajapati
Copy link

thank you.. this helped a lot

@viraljetani
Copy link

Worked for me as well.. Thanks a lot.!

@JohnRamon
Copy link

Perfect TY 😄

@Expertweblancer
Copy link

Thanks

@prodev711
Copy link

Thanks

@joshu-aa
Copy link

Thanks brooo!

@rightpay22
Copy link

thanks

@Barr1ga
Copy link

Barr1ga commented Sep 5, 2023

Thank you

@teddzyb
Copy link

teddzyb commented Sep 5, 2023

much appreciated

@krisyam
Copy link

krisyam commented Sep 10, 2023

Thanks man! Appreciate the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment