<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/javascript-installer-pnpm-recast-in-rust-because-ecmascript-can-t-keep-up-o0llbnilg" -->

---
title: JavaScript installer pnpm recast in Rust because...
description: Pnpm has been rewritten in Rust for version 12, cutting installation times by up to 90 percent versus pnpm 11 and dramatically outperforming npm in official...
canonical: https://daily.dev/posts/javascript-installer-pnpm-recast-in-rust-because-ecmascript-can-t-keep-up-o0llbnilg
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: JavaScript installer pnpm recast in Rust because ECMAScript can't keep up | daily.dev
og:description: Pnpm has been rewritten in Rust for version 12, cutting installation times by up to 90 percent versus pnpm 11 and dramatically outperforming npm in official...
og:url: https://daily.dev/posts/javascript-installer-pnpm-recast-in-rust-because-ecmascript-can-t-keep-up-o0llbnilg
og:image: https://api.daily.dev/og/posts/O0LLbnILg.png
og:image:alt: JavaScript installer pnpm recast in Rust because ECMAScript can't keep up
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# JavaScript installer pnpm recast in Rust because ECMAScript can't keep up

**[DEVCLASS](https://daily.dev/sources/devclass)** · 4 min read · 0 upvotes · 0 comments

## Summary

Pnpm has been rewritten in Rust for version 12, cutting installation times by up to 90 percent versus pnpm 11 and dramatically outperforming npm in official benchmarks. The rewrite is designed to be fully backward-compatible: commands, flags, settings, and the lockfile format from pnpm 11 all carry over. The project also built a companion Rust registry server called pnpr that speeds installs further. The new core is roughly two-thirds Rust and one-third TypeScript. Maintainer Zoltan Kochan noted it was faster to rewrite pnpm in Rust than to migrate to ECMAScript modules, echoing broader industry trends of rewriting JavaScript tooling (Bun, Tailwind's Oxide engine, Vite's Rolldown) in Rust for performance. Existing users need to explicitly opt into v12 via 'pnpm self-update next-12' since GitHub still points to the 11.25 release.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.devclass.com/development/2026/09/05/javascript-installer-pnpm-recast-in-rust-because-ecmascript-cant-keep-up/5294488>

## Questions this post answers

### How much faster is pnpm 12 compared to pnpm 11 and npm for package installation?

Pnpm 12 installed a sample uncached package in 5.19 seconds, versus 8.22 seconds for pnpm 11 and 47.7 seconds for npm, according to the project's own benchmarks. With the companion Rust-based registry server pnpr on the backend, installation dropped further to 3.37 seconds. Overall install times were cut by up to 90 percent in some cases.

_Teams evaluating faster package managers can track pnpm's Rust rewrite benchmarks on daily.dev._

### Do I need to change my lockfile or config when upgrading to pnpm 12?

No migration is required: pnpm 12's commands, flags, settings, and lockfile format all carry over unchanged from pnpm 11, and documentation covers both versions. However, because GitHub's release page still points to pnpm 11.25, users must explicitly opt in by running 'pnpm self-update next-12' to get the new Rust-based version.

_Developers planning the pnpm 12 upgrade can follow rollout details on daily.dev._

### Why did pnpm's maintainer choose to rewrite it in Rust instead of migrating to ECMAScript modules?

Pnpm maintainer Zoltan Kochan said it was faster to rewrite pnpm entirely in Rust than to migrate the existing codebase to ECMAScript modules (ESM), agreeing with a comment from vlt CEO Darcy Clarke calling this an indictment of Node's poor developer experience. The new core is now about 65.9 percent Rust and 33.5 percent TypeScript.

_Anyone weighing Rust rewrites versus ESM migration for JS tooling can follow the discussion on daily.dev._

## Similar posts on daily.dev

- [pnpm 12.11.0](https://daily.dev/posts/pnpm-12-11-0-rayisljl1) · Fast, disk space efficient package manager \| pnpm · 2 upvotes · 0 comments
- [pnpm 12.19.0](https://daily.dev/posts/pnpm-12-19-0-etydupssf) · Fast, disk space efficient package manager \| pnpm · 0 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#rust](https://daily.dev/tags/rust), [#npm](https://daily.dev/tags/npm), [#pnpm](https://daily.dev/tags/pnpm)

[View this post on daily.dev](https://daily.dev/posts/javascript-installer-pnpm-recast-in-rust-because-ecmascript-can-t-keep-up-o0llbnilg)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"JavaScript installer pnpm recast in Rust because ECMAScript can't keep up","url":"https://daily.dev/posts/javascript-installer-pnpm-recast-in-rust-because-ecmascript-can-t-keep-up-o0llbnilg","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/javascript-installer-pnpm-recast-in-rust-because-ecmascript-can-t-keep-up-o0llbnilg"},"datePublished":"2026-09-05T13:48:26.539Z","dateModified":"2026-09-05T13:49:25.872Z","description":"Pnpm has been rewritten in Rust for version 12, cutting installation times by up to 90 percent versus pnpm 11 and dramatically outperforming npm in official...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6ec43f3f6ac2ead0db43d82dc3e850c8?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6ec43f3f6ac2ead0db43d82dc3e850c8?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"DEVCLASS","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"DEVCLASS","logo":"https://media.daily.dev/image/upload/s--quq5_zKP--/f_auto/v1732552064/logos/devclass","url":"https://daily.dev/sources/devclass"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/javascript-installer-pnpm-recast-in-rust-because-ecmascript-can-t-keep-up-o0llbnilg","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript,rust,npm,pnpm","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DEVCLASS","item":"https://daily.dev/sources/devclass"},{"@type":"ListItem","position":3,"name":"JavaScript installer pnpm recast in Rust because ECMAScript can't keep up"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/javascript-installer-pnpm-recast-in-rust-because-ecmascript-can-t-keep-up-o0llbnilg#faq","mainEntity":[{"@type":"Question","name":"How much faster is pnpm 12 compared to pnpm 11 and npm for package installation?","acceptedAnswer":{"@type":"Answer","text":"Pnpm 12 installed a sample uncached package in 5.19 seconds, versus 8.22 seconds for pnpm 11 and 47.7 seconds for npm, according to the project's own benchmarks. With the companion Rust-based registry server pnpr on the backend, installation dropped further to 3.37 seconds. Overall install times were cut by up to 90 percent in some cases. Teams evaluating faster package managers can track pnpm's Rust rewrite benchmarks on daily.dev."}},{"@type":"Question","name":"Do I need to change my lockfile or config when upgrading to pnpm 12?","acceptedAnswer":{"@type":"Answer","text":"No migration is required: pnpm 12's commands, flags, settings, and lockfile format all carry over unchanged from pnpm 11, and documentation covers both versions. However, because GitHub's release page still points to pnpm 11.25, users must explicitly opt in by running 'pnpm self-update next-12' to get the new Rust-based version. Developers planning the pnpm 12 upgrade can follow rollout details on daily.dev."}},{"@type":"Question","name":"Why did pnpm's maintainer choose to rewrite it in Rust instead of migrating to ECMAScript modules?","acceptedAnswer":{"@type":"Answer","text":"Pnpm maintainer Zoltan Kochan said it was faster to rewrite pnpm entirely in Rust than to migrate the existing codebase to ECMAScript modules (ESM), agreeing with a comment from vlt CEO Darcy Clarke calling this an indictment of Node's poor developer experience. The new core is now about 65.9 percent Rust and 33.5 percent TypeScript. Anyone weighing Rust rewrites versus ESM migration for JS tooling can follow the discussion on daily.dev."}}]}
```

