pnpm Config and Store/Show package metadata cache path

Print the path of pnpm's metadata cache.

Section: Store and Cache

Show package metadata cache path

bash
bash
pnpm cache path
Explanation

Print the path of pnpm's metadata 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 Store and Cache
Delete package metadata cache entries
Clear package metadata cache entries.
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