upgrading composer globally on windows code example
Example 1: upgrading composer globally on windows
php composer.phar self-update
Example 2: run global packages macos composer
export PATH=~/.composer/vendor/bin:$PATH
Example 3: composer mac
php composer-setup.php --install-dir=bin --filename=composer