pnpm Config and Store/Delete package metadata cache entries

Clear package metadata cache entries.

Section: Store and Cache

Delete package metadata cache entries

bash
bash
pnpm cache delete
Explanation

Clear package metadata cache entries.

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 Store and Cache
Show package metadata cache path
Print the path of pnpm's metadata cache.
OpenIn sheetbashsame section
Show store path
Display the content-addressable store location.
OpenIn sheetbashsame section
Show modified packages in store
Check whether packages in the store were modified.
OpenIn sheetbashsame section
Prune unreferenced packages from store
Delete unreferenced packages from the global store.
OpenIn sheetbashsame section
Get config value
Read a pnpm configuration value.
OpenIn sheetbash1 tag match
Use hoisted node_modules linker
Switch to a hoisted node_modules layout if needed for compatibility.
OpenIn sheetbash1 tag match