TechNewsReel
Live

pnpm v12 rewrites core engine in Rust to slash installation times

The popular package manager eliminates Node.js overhead to deliver speed increases of up to 90%.

TechNewsReel Newsroom · September 4, 2026

The JavaScript ecosystem has a new performance benchmark with the release of pnpm v12, which replaces its core installation engine with a Rust-based rewrite. The move eliminates the inherent overhead of Node.js and utilizes native parallelism to drastically accelerate dependency installation.

According to benchmarks reported by The Register and Socket, pnpm 12 can reduce installation times by up to 90% in certain scenarios. In a specific test involving an uncached package, pnpm 12 completed the installation in 5.19 seconds, significantly outperforming pnpm 11's 8.22 seconds and npm's 47.7 seconds. Further gains are possible using 'pnpr,' a companion Rust-based registry server that lowered the same benchmark time to 3.37 seconds. The resulting core binary is a hybrid of 65.9% Rust and 33.5% TypeScript.

The shift from Node.js

Founded in 2016 by Rico Sta. Cruz, pnpm established itself as a disk-efficient alternative to npm by using content-addressable storage to prevent duplicate dependencies. Its adoption has grown steadily, with the 2025 State of JavaScript survey indicating that approximately 38% of developers use the tool for monorepos.

However, the transition to Rust was driven by more than just raw speed. Lead maintainer Zoltan Kochan noted that it was actually faster to rewrite the tool in Rust than to undergo the complex process of migrating to ECMAScript modules (ESM). This sentiment is echoed by Darcy Clarke, CEO of vlt, who described the necessity of the rewrite as "a bit of an indictment on Node for having poor dx."

Industry implications

This rewrite is part of a broader industry trend where critical JavaScript tooling is being recast in Rust to bypass the performance ceilings of the V8 engine. Similar shifts have been seen with Vite's Rolldown and Tailwind's Oxide engine. For developers, particularly those managing large-scale monorepos, this removes a critical bottleneck in the development lifecycle and streamlines CI/CD pipelines.

Despite the architectural overhaul, the transition for users is intended to be seamless. Kochan emphasized that upgrading should not feel like a migration, as pnpm 12 maintains full backward compatibility with the commands, flags, settings, and lockfile formats used in version 11.

What to watch

As pnpm v12 rolls out, the industry will be watching to see if other core Node.js utilities follow suit in abandoning the runtime for native binaries. While the current benchmarks show a massive lead over npm, the project has not provided verified comparative data against other modern competitors like Bun or Yarn, leaving the full competitive landscape open for further independent testing.

Sources

Get a notification when a big story breaks. A few a day at most — no spam.