add composer command to path code example Example: upgrading composer globally on windows php composer.phar self-update