Managing the package store.
Checks for modified packages in the store.
Returns exit code 0 if the content of the package is the same as it was at the time of unpacking.
Added in: v2.12.0
Adds new packages to the pnpm store directly. Does not modify any projects or files outside the store.
Added in: v2.21.0
Lists all pnpm projects on the current filesystem that depend on the specified packages in the store.
Note that this command might be slow for very large stores. We are working on improving performance.
Removes unreferenced (extraneous, orphan) packages from the store.
Pruning the store is not harmful, but might slow down future installations.
Please read the FAQ for more information on unreferenced packages and
pnpm store prune best practices.
This command is prohibited when a store server is running.