nvm README

The project's README from github.com/nvm-windows/nvm. As one markdown file: README.md.

nvm-windows | Trendshift

[!IMPORTANT]

NVM for Windows Version 2 is now available!

NVM for Windows has been fully rewritten for modern workflows. There are significant changes from v1, as listed below and in the docs.

NVM for Windows

The Microsoft/Google recommended Node.js version manager for millions of Windows developers.

NVM for Windows is not the same thing as nvm! (expand for details)

The original nvm is a completely separate project for Mac/Linux only. This project uses an entirely different philosophy and is not just a clone of nvm.

Install Stable Version Prerelease Downloads Twitter URL

Resources

Features

Feature Description
Compatibility


• No mandatory administrator privileges.
• Shim mode - no symlinks, fast (written in Zig).
• Link mode - Zero-latency, junctions with symlink fallback.
Automation


• Per-directory version switching (pinning).
• Auto-install missing versions.
• Auto-install default global modules.
Speed



• Parallel (multiple) simultaneous installations.
• Smaller downloads (7z).
• Native extraction.
• Caching.
Native Integrations



• Windows Apps
• Logging (Windows Event Viewer)
• Windows Registry
• Desktop Notification Center
Customization


• User-defined aliases.
• User-defined default global modules.
• Configure local (air-gapped) downloads.

Certified Builds

Commercial Certified Builds are coming in September 2026 for controlled environments. Get notified

Feature Description
Code Signing

• Installers
• Executables
Installers

• MSI/MST
• Microsoft Intune
Advanced Logging ⭐



• Fully auditable
• Structured
• Dedicated Event Source
• Native SIEM integration
Policy Enforcement ⭐




• Active Directory/Entra integration
• Restrict Node.js versions/ranges (e.g. no EOL versions, LTS only, etc.)
• Control nvm-windows, Node/npm/npx settings
• Advanced proxy (IWA, WPAD/PAC) support
• Private Node.js download mirror
Trust Artifacts ⭐


• SBOM
• SLSA Provenance
• VEX Reports

⭐ = Add-on package

:pray: Thanks

Thanks to everyone who has submitted issues on and off GitHub, made suggestions, and generally helped make this a better project. Special thanks and the full contributor list is available here.

nvm (nvm-windows/nvm)

Searching Database…

48K ·GitHub
这是什么?NVM for Windows 是专为 Windows 打造的 Node.js 版本管理工具,可以让你在电脑上安装多个 Node.js 版本,并在它们之间自由切换。
这和 Mac/Linux 上的 nvm 工具一样吗?不一样。虽然名字相似,但它是一个完全独立的项目,设计理念也不同,并不是原版 nvm 的克隆版。
使用它需要管理员权限吗?不需要,正常使用时并不强制要求管理员权限。
升级后,我原来的 v1 配置还能像以前一样工作吗?不会完全一样。2.0 版本是全面重写的版本,与 v1 有很大变化,具体的行为差异请参阅官方文档。
除了 Windows,它还支持其他系统吗?不支持,它只适用于 Windows。Mac/Linux 用户应改用独立的原版 nvm 项目。
日常使用时,版本切换是怎么工作的?它支持按目录固定版本、自动安装缺失的 Node 版本,还能自动安装默认的全局模块,让环境无需手动设置就能直接可用。
它为什么比旧的版本管理工具更快?它使用 Zig 编写的 shim 模式(不使用符号链接)来提速;还提供零延迟的链接模式(使用 junction,并以符号链接作为后备)、并行安装、体积更小的 7z 下载,以及缓存机制。
它集成了哪些 Windows 原生功能?它集成了 Windows Apps,会将日志写入 Windows 事件查看器,可以读写 Windows 注册表,还能通过桌面通知中心显示通知。
有没有带额外功能的付费版本?有。商业认证版(Commercial Certified Builds)计划于 2026 年 9 月推出,将为企业环境增加代码签名、MSI/Intune 安装程序、高级 SIEM 日志记录、Active Directory 策略强制执行,以及 SBOM/SLSA 可信工件。
What are similar projects?nvm, Inquirer.js, cz-cli, volta, fnm, npm, Scoop, pnpm
Size
32.6 MB
Stars
48K
Age
12y
Commits · 90 Days