upgrade composer to 2.0 windows code example
Example 1: upgrading composer globally on windows
php composer.phar self-update
Example 2: php composer update
php composer.phar update
php composer.phar self-update
php composer.phar update