pnpm store prune

Removes orphan packages from the store. Pruning the store will save disk space, however may slow down future installations involving pruned packages. Ultimately, it is a safe operation, however not recommended if you have orphaned packages from a package you intend to reinstall. Please read the FAQ for more information on unreferenced packages and best practices. Please note that this is prohibited when a store server is running