Question
What is the purpose of the `npm cache` command?
Asked by: USER4529
47 Viewed
47 Answers
Answer (47)
The `npm cache` command stores downloaded packages and their versions. It's useful for quickly checking if a package is already installed, or for re-running `npm install` without reinstalling.