pnpm cache delete
Warning
This command is experimental
Deletes metadata cache for the specified packages. Supports patterns.
pnpm cache delete [<pattern>...]
Each pattern matches cached metadata across all registries by default. The cached manifests of single versions that pnpm read from a pnpr registry are deleted with their package. Use --registry to restrict deletion to one registry. The deleted files are printed one per line.
pnpm cache delete '@babel/*'
Warning
Without arguments, pnpm cache delete deletes every cached metadata file across all registries unless you pass --registry. The descriptor-scoped metadata under v12/metadata-private is not affected.