npm cache clear global code example Example 1: npm clear cache npm cache clean --force Example 2: clean npm cache npm cache clean -f