composer update in cmd file code example Example 1: upgrade composer version composer self-update Example 2: composer clear cache $ composer clearcache