Skip to main content
Reproducible measurements

How fast is pnpm, really?

Installing two real projects with npm, two generations of pnpm, and three pnpm configurations — and installing Node.js itself against fnm and nvm.

Data fetched Sep 27, 2026 from pnpm/benchmarks, rebuilt on every deploy.
Package managers

Install Speed

Two projects installed six ways each — the cache and lockfile states you actually end up in, from a fresh clone to a warm re-run.

Tools
Projects
Every bar shares one scale, so scenarios are comparable with each other. Tools stay in the same order in every scenario.

alotta-files

A wide dependency graph of small packages — lots of files to link, little to resolve.

6/6scenarios where pnpm beats npm
69xfaster than npm on “everything warm”
18mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
48.4s14x slower
pnpm 11
8.43s2.5x slower
pnpm 12
4.42s1.3x slower
pnpm 12 + pnpr
3.36s
pnpm 12 + global store
4.70s1.4x slower
pnpm 12 hoisted
4.42s1.3x slower
cacheReinstalling without a lockfile.
npm
13.3s20x slower
pnpm 11
4.84s7.5x slower
pnpm 12
1.03s1.6x slower
pnpm 12 + pnpr
739ms1.1x slower
pnpm 12 + global store
648ms
pnpm 12 hoisted
980ms1.5x slower
lockfileCI, first install.
npm
12.3s3.8x slower
pnpm 11
4.94s1.5x slower
pnpm 12
3.35s
pnpm 12 + pnpr
3.32s
pnpm 12 + global store
3.20s
pnpm 12 hoisted
3.45s1.1x slower
cache + lockfileReinstalling a project you already have.
npm
7.81s34x slower
pnpm 11
2.39s10x slower
pnpm 12
688ms3.0x slower
pnpm 12 + pnpr
696ms3.0x slower
pnpm 12 + global store
231ms
pnpm 12 hoisted
590ms2.6x slower
everything warmRunning install when nothing changed.
npm
1.24s73x slower
pnpm 11
563ms33x slower
pnpm 12
18ms1.1x slower
pnpm 12 + pnpr
17ms
pnpm 12 + global store
18ms1.1x slower
pnpm 12 hoisted
17ms
updateA dependency was bumped in package.json.
npm
4.77s5.1x slower
pnpm 11
4.43s4.8x slower
pnpm 12
1.03s1.1x slower
pnpm 12 + pnpr
970ms
pnpm 12 + global store
930ms
pnpm 12 hoisted
1.29s1.4x slower

Total across all scenarios

  1. pnpm 12 + pnpr9.10sfastest
  2. pnpm 12 + global store9.72s1.1x slower
  3. pnpm 1210.5s1.2x slower
  4. pnpm 12 hoisted10.8s1.2x slower
  5. pnpm 1125.6s2.8x slower
  6. npm1m 28s9.6x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-files — fastest run per scenario.
Scenarionpmv12.1.0pnpm 11v11.27.1pnpm 12v12.7.0pnpm 12 + pnprv12.7.0pnpm 12 + global storev12.7.0pnpm 12 hoistedv12.7.0
cleanA fresh clone. Nothing cached.48.4s8.43s4.42s3.36s4.70s4.42s
cacheReinstalling without a lockfile.13.3s4.84s1.03s739ms648ms980ms
lockfileCI, first install.12.3s4.94s3.35s3.32s3.20s3.45s
cache + lockfileReinstalling a project you already have.7.81s2.39s688ms696ms231ms590ms
everything warmRunning install when nothing changed.1.24s563ms18ms17ms18ms17ms
updateA dependency was bumped in package.json.4.77s4.43s1.03s970ms930ms1.29s
Measured with npm 12.1.0 · pnpm 11 11.27.1 · pnpm 12 12.7.0 · pnpm 12 + pnpr 12.7.0 · pnpm 12 + global store 12.7.0 · pnpm 12 hoisted 12.7.0.

alotta-packages

Fourteen modern toolchains — Angular, Nest, Vite, webpack, Storybook — resolving to about a gigabyte.

6/6scenarios where pnpm beats npm
197xfaster than npm on “everything warm”
20mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
1m 51s12x slower
pnpm 11
25.4s2.8x slower
pnpm 12
14.3s1.6x slower
pnpm 12 + pnpr
9.09s
pnpm 12 + global store
15.6s1.7x slower
pnpm 12 hoisted
14.7s1.6x slower
cacheReinstalling without a lockfile.
npm
42.7s21x slower
pnpm 11
18.1s9.1x slower
pnpm 12
3.30s1.7x slower
pnpm 12 + pnpr
2.27s1.1x slower
pnpm 12 + global store
1.99s
pnpm 12 hoisted
3.38s1.7x slower
lockfileCI, first install.
npm
32.5s3.7x slower
pnpm 11
12.7s1.4x slower
pnpm 12
8.90s
pnpm 12 + pnpr
8.94s
pnpm 12 + global store
8.86s
pnpm 12 hoisted
9.89s1.1x slower
cache + lockfileReinstalling a project you already have.
npm
24.0s46x slower
pnpm 11
5.87s11x slower
pnpm 12
2.27s4.3x slower
pnpm 12 + pnpr
2.28s4.4x slower
pnpm 12 + global store
524ms
pnpm 12 hoisted
1.97s3.8x slower
everything warmRunning install when nothing changed.
npm
3.94s232x slower
pnpm 11
562ms33x slower
pnpm 12
20ms1.2x slower
pnpm 12 + pnpr
21ms1.2x slower
pnpm 12 + global store
19ms1.1x slower
pnpm 12 hoisted
17ms
updateA dependency was bumped in package.json.
npm
17.1s8.7x slower
pnpm 11
14.7s7.4x slower
pnpm 12
3.35s1.7x slower
pnpm 12 + pnpr
1.97s
pnpm 12 + global store
3.11s1.6x slower
pnpm 12 hoisted
4.10s2.1x slower

Total across all scenarios

  1. pnpm 12 + pnpr24.6sfastest
  2. pnpm 12 + global store30.1s1.2x slower
  3. pnpm 1232.1s1.3x slower
  4. pnpm 12 hoisted34.0s1.4x slower
  5. pnpm 111m 17s3.1x slower
  6. npm3m 52s9.4x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-packages — fastest run per scenario.
Scenarionpmv12.1.0pnpm 11v11.27.1pnpm 12v12.7.0pnpm 12 + pnprv12.7.0pnpm 12 + global storev12.7.0pnpm 12 hoistedv12.7.0
cleanA fresh clone. Nothing cached.1m 51s25.4s14.3s9.09s15.6s14.7s
cacheReinstalling without a lockfile.42.7s18.1s3.30s2.27s1.99s3.38s
lockfileCI, first install.32.5s12.7s8.90s8.94s8.86s9.89s
cache + lockfileReinstalling a project you already have.24.0s5.87s2.27s2.28s524ms1.97s
everything warmRunning install when nothing changed.3.94s562ms20ms21ms19ms17ms
updateA dependency was bumped in package.json.17.1s14.7s3.35s1.97s3.11s4.10s
Measured with npm 12.1.0 · pnpm 11 11.27.1 · pnpm 12 12.7.0 · pnpm 12 + pnpr 12.7.0 · pnpm 12 + global store 12.7.0 · pnpm 12 hoisted 12.7.0.
  • Two projects, run separately: "alotta-files" is a wide graph of small packages, "alotta-packages" is fourteen modern toolchains resolving to about a gigabyte. Both are shown because they do not agree — pnpm leads on each, but by different margins, and pnpr gains far more on the larger graph.
  • Within a project the only thing that changes is the package manager, and every manager is measured with the same versions on both projects. Numbers are never combined across projects.
  • Each number is the fastest of the three most recent runs.
  • Everything installs through the same registry over the same emulated link (50ms, 200Mbps), so the times include the round trips a real install pays for.
  • Six scenarios here. The suite measures three more that delete your cache or lockfile but keep node_modules — nobody works that way, so they are left out.
  • pnpm 12 + pnpr is the same version and the same command, with resolution handled by the registry instead of locally.
  • The three columns after pnpm 12 are that same pnpm 12 configured differently — a global virtual store, a hoisted node_modules, and registry-side resolution. They are shown to make the cost of each setting visible, and are left out of the headline numbers above, which describe pnpm as it installs by default.
Node.js version managers

Node.js Version Management

pnpm installs and switches Node.js versions itself, so you may not need a version manager at all. Here it is against fnm and nvm.

Every bar shares one scale, so scenarios are comparable with each other. Tools stay in the same order in every scenario.
2/3scenarios where pnpm is fastest
19xfaster than nvm on “install (warm store)”
5mspnpm's best run — “run in project”
install (clean)Install Node.js 24, nothing cached.
pnpm
1.03s
fnm
2.98s2.9x slower
nvm
3.24s3.1x slower
install (warm store)Install a version you had before.
pnpm
152ms
fnm
2.95s19x slower
nvm
2.84s19x slower
run in projectRun node in a project pinned to Node.js 22.
pnpm
5ms1.1x slower
fnm
5ms
nvm
75ms15x slower

Total across all scenarios

  1. pnpm1.19sfastest
  2. fnm5.94s5.0x slower
  3. nvm6.15s5.2x slower

All 3 scenarios added up.

Exact numbers

Node.js Version Management — fastest run per scenario.
Scenariopnpmv12.7.0fnmv1.39.0nvmv0.40.8
install (clean)Install Node.js 24, nothing cached.1.03s2.98s3.24s
install (warm store)Install a version you had before.152ms2.95s2.84s
run in projectRun node in a project pinned to Node.js 22.5ms5ms75ms
Measured with pnpm 12.7.0 · fnm 1.39.0 · nvm 0.40.8.
  • pnpm keeps Node.js in its store, so a version it has seen before needs no download.
  • There is no switch command — the node on your PATH is whatever the project asks for.
  • Timed inside a shell with $EPOCHREALTIME, because nvm is a shell function rather than a binary.

How these numbers are produced

Every tool runs on the same machine against the same project, and the timings are committed to pnpm/benchmarks. This page reads them at build time and picks the newest version of each tool.

This is one project on one machine — your numbers will differ. Run pnpm run benchmark to see your own.