Created
August 19, 2021 13:46
-
-
Save jasonsnider/a666d9670edf0160c96c7deca49e1369 to your computer and use it in GitHub Desktop.
Upgrade Composer from 1.x to 2.x on Ubuntu 20.04
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
#!/bin/bash | |
sudo apt remove composer | |
sudo apt update | |
sudo apt install curl | |
sudo curl -s https://getcomposer.org/installer | php | |
sudo mv composer.phar /usr/bin/composer |
Author
jasonsnider
commented
Aug 19, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment