pnpm 10.12 (v10.12.1) adds an experimental global virtual store for near‑instant local installs

pnpmJavaScriptMonoreposDevOps

Key update

pnpm v10.12 (v10.12.1) ships an experimental "global virtual store" mode that stores dependency sets hashed by their full dependency graph in a central store and makes project node_modules contain only symlinks to that shared store. This lets different projects reuse identical dependency graphs without re-unpacking or rebuilding them locally, producing near‑instant installs on machines with a warm store. Enablement is explicit (enableGlobalVirtualStore in pnpm-workspace.yaml or via pnpm config) and the feature is automatically disabled in CI where caches are typically cold. (github.com)

Why it matters

For engineers who maintain multiple repos or large monorepos, the global virtual store changes the economics of local iteration: installs and switching branches that would previously rehydrate thousands of package files can now be reduced to symlink operations when graphs match, cutting developer wait times and CI warm-cache benefits. It’s also a practical alternative to containerizing everything just to avoid long install steps. Caveats to plan for include the feature’s experimental status, the change to side‑effects cache keys (old caches may be ignored, so expect one-time rebuilds), and the fact hard links and central stores have different permission and storage implications on some filesystems — so validate on developer images before wide rollout. (github.com)

Source

Read Next