Here is how to upgrade your servers to make the most of all the great benefits it brings.
composer self-update --2
If it does not work, use this:
composer self-update
If you need to rollback to your previous version, you can do that with:
composer self-update --rollback