Switch between major composer versions
We all should be on composer 2 now for a while, but apparently not everybody is yet. It's very simple to upgrade, but also to downgrade.
Upgrade with:
composer self-update --2And the downgrade is basically the same:
composer self-update --1I guess this will stay the same for the next major version, but we'll see.