Fetch a package into the local cache.
Section: Cache management
Add package tarball to cache
bash
bash
npm cache add <package>Explanation
Fetch a package into the local cache.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Cache management