Answers for "npm clear local cache"

66

npm cache clean

# To clear a cache in npm, we need to run the npm cache clean --force command in our terminal:
npm cache clean --force
# clean: It deletes the all data from your cache folder.

# You can also verify the cache, by running the following command:
npm cache verify
Posted by: Guest on February-17-2021
6

how to clean the npm cache

npm cache clean --force
Posted by: Guest on August-17-2020
1

clean remove npm with cache

rm package-lock.json
rm -R node_modules
npm cache clean --force
Posted by: Guest on August-06-2021
-1

npm cache clean

//npm clean cache:

npm cache clear --force
npm cache rm --force
npm cache verify
Posted by: Guest on July-07-2021

Browse Popular Code Answers by Language