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