Upgrade Composer to 2.x

3 years ago | 1 minute read | PHP

The composer team just released version 2.0 of the popular package manager Composer. The following command should help upgrade to the latest version with ease. Check out the release notes - Here

composer self-update--2

If you have the composer installed in your bin directory in Linux, you might need to run the command as the sudo user of your computer

Yes. That was easy. You're done!