Validate the integrity of the npm cache.

Section: Cache management

Verify cache

bash
bash
npm cache verify
Explanation

Validate the integrity of the npm 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
Clean cache
Remove cached data. Force is required.
OpenIn sheetbashsame section
Add package tarball to cache
Fetch a package into the local cache.
OpenIn sheetbashsame section
List config values
Display effective npm configuration.
OpenIn sheetbash1 tag match
List auth tokens
Show tokens for the current account.
OpenIn sheetbash1 tag match
Show global prefix
Print the global installation prefix.
OpenIn sheetbash1 tag match
List all config defaults
Display defaults and computed values.
OpenIn sheetbash1 tag match