change composer linux code example Example 1: composer clear cache $ composer clearcache Example 2: update packages composer global composer global update