Skip to content

pnpm store

Last updated 1 November 2026

What it is, where it lives on your Mac, and whether it’s safe to delete.

Safe to delete

Yes. pnpm downloads packages again when a project needs them.

Where it is

~/Library/pnpm/store

What it is

pnpm keeps one copy of every package version here and hard-links it into projects; pnpm store prune removes only the packages no project uses any more.

Packages your projects still link to stay, so deleting the folder itself would free little.

Is it safe to delete?

Yes. pnpm downloads packages again when a project needs them.

How big is it?

In Terminal, this shows its size without changing anything:

du -sh "$HOME/Library/pnpm/store"

How to remove it

  1. Quit pnpm first.
  2. Use the tool's own command, which knows what's still in use: pnpm store prune

What DiskCity does with it

DiskCity removes it with the tool's own command, when you approve, or on its own if you turn on Autopilot. It waits until pnpm is closed.

Sources

Checked 2026-10-23.