https://github.com/coreybutler/nvm-windows/releases
0、powershell 一般权限不够需要以管理员运行powershell并执行下面语句开放更高权限,但建议还是cmd最直接
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
1、安装NVM并查看版本
点击EXE文件安装,安装完新建cmd输入下面命令测试看版本,
nvm version2、添加镜像
nvm node_mirror https://npmmirror.com/mirrors/node/ nvm npm_mirror https://npmmirror.com/mirrors/npm/
3、安装特定版本node
nvm install 22.14.0
4、使用特定版本node
nvm use 22.14.0
5、查看版本是否生效
node -v npm -v
Windows 11 安装NVM
| Title | Windows 11 安装NVM |
|---|---|
| Framework | Windows 11 |
| User | wy8817399@vip.qq.com |
| Id | 60 |
| Created | 2/27/26, 8:12 PM |
| Modified | 2/27/26, 8:18 PM |
| Published | Yes |
Content