nvm README

项目的 README,来自 github.com/nvm-windows/nvm。合并为一个 markdown 文件:README.md。

nvm-windows | Trendshift

NVM for Windows

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

[!IMPORTANT] You may already have NVM for Windows. Microsoft Zenith preconfigures NVM, starting with AMD Ryzen AI Halo devices. More devices from OEM and silicon partners will be available in the coming months.

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

🚀 Version 2 is available

NVM for Windows has been fully rewritten for modern workflows.

Explore what’s new →

🏢 Introducing Certified Builds

Deploy NVM for Windows in controlled environments with commercial Certified Builds and optional add-ons:

  • IT-managed deployment with MSI and Intune
  • Centralized policy enforcement
  • Auditable operations with advanced logging
  • Supply-chain confidence with verifiable trust artifacts

Explore Certified Builds →

Resources

Features

[!IMPORTANT] Community Edition installers are now code-signed as of v2.0.0-hotfix.2.

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 now available for controlled environments. Learn more.

Not sure which edition is right for you? See Choosing a Build.

Feature Description
IT-Managed Installation

• Windows-protected installation directory
• Administrator-controlled deployment and device management
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 + AI-BOM
• SLSA Provenance
• SAST
• VEX Reports

⭐ = Add-on package

Contributing

See CONTRIBUTING.md. Every commit needs a Signed-off-by trailer (git commit -s).

: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)

正在搜索数据库…

48.2K ·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 可信工件。
有哪些类似的项目?nvm, Inquirer.js, cz-cli, fnm, pnpm, asdf, Scoop, awesome-shell
大小
32.9 MB
星标
48.2K
时长
12年
提交 · 90 天