NEWSFEVER
Technology worth discussing24 / 7 · RU + EN
Back to feedDevelopment & Open Source

NVM for Windows v2 adds Zig shims and native Windows integrations

The rewritten Node.js version manager retains its Go core while adding automatic version selection, security checks and a subscription-based Certified edition.

Published: 6 Dec 2026, 10:00 UTC
Green modules converge on a central selector connected by two routes to a blue window-shaped structure.
Conceptual illustration of Node.js version selection and NVM for Windows system integration.

NVM for Windows has been rewritten for v2 after more than a decade of development on version 1. Project author Corey Butler outlined the changes in an article dated October 6, 2026. Version management remains in Go, while the shims—small programs that intercept Node.js and package manager launches—are written in Zig. The split reduces the contribution of Go runtime startup to launch latency.

The default shim mode selects versions using .nvmrc, .node-version, package.json and other configured files, and checks the publisher of node.exe on every launch. It adds approximately 25–35 milliseconds of startup latency. A link mode remains available with no additional latency, but it lacks features that require logic to run when Node.js starts.

Managed Node.js versions now appear in Windows Apps & Features. The rewrite also integrates with Windows Event Viewer and Notification Center, while configuration moves from settings.txt to the registry. Other changes include parallel installations and download caching. Switching archives from .zip to .7z reduces download sizes by roughly 40%, without requiring a separate 7-Zip installation.

The project now offers a free MIT-licensed Community edition and a Certified edition with enterprise add-ons through an annual subscription. Its malicious-package blocker uses OpenSSF Malicious Packages data. Community checks the explicitly installed package and direct dependencies in package.json; Certified additionally examines the lockfile and transitive dependencies. The feature checks against known malicious packages rather than acting as an antivirus or file scanner.

Original source: habr.com ↗

Comments on source platforms

Rank is the maximum of the latest discussion counts. These are source metrics.

Хабр