Updating or Upgrading Composer V1 to V2
Go to your terminal and type composer self-update
this should update you to the latest version. You should receive a notice that says A new stable major version of Composer is available (2.0.7), run "composer self-update --2" to update to it. See also https://github.com/composer/composer/releases for changelogs.
So follow the instructions and run composer self-update --2.
Categories: Posts