Beta The Briev beta is out. Free on iPhone via TestFlight — install it in under a minute.

Join the beta ↗
Briev
Live
Technology

pnpm 12 speeds up package installs up to 90% after Rust rewrite

The JavaScript package manager pnpm has released version 12, rebuilt in Rust, delivering installation times up to 90 percent faster while keeping full compatibility with version 11.

pnpm 12 arrives as a fully backward-compatible update, according to lead maintainer Zoltan Kochan, who emphasizes that existing commands, flags, settings and lockfile format are preserved. Benchmarks published by the project indicate that installing an uncached package now takes 5.19 seconds, a notable improvement over the 8.22 seconds required by pnpm 11 and the 47.7 seconds needed by npm. The team also introduced pnpr, a Rust-implemented registry server, which cut the same installation down to 3.37 seconds.

Development began in April, resulting in a codebase that is roughly two-thirds Rust and one-third TypeScript. Sarah Gooding of Socket highlighted that package installation involves metadata fetching, tarball unpacking, dependency resolution and linking, making it well suited for native code and parallel execution. The rewrite reflects a broader trend of moving performance-critical JavaScript tooling into Rust.

Why it matters

Faster, more efficient package installs reduce development time and resource usage for JavaScript projects.

In this story

pnpm 12Rust rewritepackage installation speedpnpr registryJavaScript monoreposdependency management
Get the beta ↗