惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
S
Securelist
MyScale Blog
MyScale Blog
Jina AI
Jina AI
罗磊的独立博客
The Cloudflare Blog
美团技术团队
博客园 - 叶小钗
阮一峰的网络日志
阮一峰的网络日志
博客园 - 三生石上(FineUI控件)
月光博客
月光博客
雷峰网
雷峰网
小众软件
小众软件
aimingoo的专栏
aimingoo的专栏
大猫的无限游戏
大猫的无限游戏
博客园 - Franky
博客园 - 聂微东
Y
Y Combinator Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
MongoDB | Blog
MongoDB | Blog
T
Tailwind CSS Blog
Attack and Defense Labs
Attack and Defense Labs
博客园_首页
Latest news
Latest news
Apple Machine Learning Research
Apple Machine Learning Research
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Hacker News
The Hacker News
G
GRAHAM CLULEY
Simon Willison's Weblog
Simon Willison's Weblog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Proofpoint News Feed
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
U
Unit 42
D
Docker
Webroot Blog
Webroot Blog
N
Netflix TechBlog - Medium
T
Tor Project blog
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LINUX DO - 最新话题
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
The Last Watchdog
The Last Watchdog
B
Blog
Recent Announcements
Recent Announcements
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
Security Latest
Security Latest
V2EX - 技术
V2EX - 技术
N
News | PayPal Newsroom
Microsoft Security Blog
Microsoft Security Blog

博客园 - simadi

我的iis10里有很多网站,现在要迁移到另一个服务器,怎么做最简单方便 Browser Harness MQTT测试工具 从华为手机导出照片到Win11 emoji大全 Sqlite“无法加载 DLL“e_sqlite3”: 找不到指定的模块”解决方法 c# 请求https网站失败 Edge安装EPUB阅读器 curl,wget,HTTPie PowerShell Winget Windows 包管理器 Windows11 升级到25H2 ai+.net postgresql System.Text.Json windows 精简版 Windows X-Lite Visual Studio 2026 新建Avalonia项目选这个,第一个会新建两个项目 隆重推出免费工具FdyRegulator1.0 Visual Studio 2026 新建axaml编码是gbk 中文运行乱码 ffmpeg 下载地址 elasticsearch + .net 开发使用的第三方库 Avalonia 开源项目,学习用 吉他自学笔记
使用NVM安装node
simadi · 2026-06-17 · via 博客园 - simadi

3 nodejs版本管理工具

NVM for Windows  https://github.com/coreybutler/nvm-windows

使用方法

https://www.cnblogs.com/yangjcBlog/p/18542298

https://blog.csdn.net/weixin_44935956/article/details/126317933

3 使用NVM安装node
3.1 查看可用Node.js版本
安装完nvm后,你可以查看当前可用的Node.js版本。在命令提示符或PowerShell中输入:

nvm list available
3.2 安装Node.js版本
nvm install <version>
#如 nvm install 16.20.2

安装老版本会出错,例如

PS C:\Users\feng> nvm install 14.20.0
Downloading node.js version 14.20.0 (64-bit)...
Complete
Downloading npm...
Creating C:\Users\feng\AppData\Local\Temp\nvm-install-2958933029\temp

Downloading npm version 6.14.17... Complete
Installing npm v6.14.17...
error installing 14.20.0: open C:\Users\feng\AppData\Local\Temp\nvm-npm-2391232289\npm-v6.14.17.zip: The system cannot find the file specified.

解决方法是

自己下载需要安装的node.js的版本(地址:https://nodejs.org/download/release/v14.20.0/) 下载以msi 结尾的文件 点击安装在nvm根(nvm root)目录下
C:\Users\自己用户名\AppData\Local\nvm\v14.20.0下,然后用nvm ls 就可以看见了 num use 切换就行

3.3 切换Node.js版本
nvm use <version>
3.4 常用nvm命令
nvm list:列出已安装的Node.js版本。
nvm uninstall :卸载指定版本的Node.js。
nvm current:显示当前使用的Node.js版本。
nvm on:启用Node.js版本管理。
nvm off:禁用Node.js版本管理(不卸载任何东西)。

nodejs 历史版本下载 https://registry.npmmirror.com/binary.html?path=node/

新的镜像地址!

node_mirror: https://npmmirror.com/mirrors/node/
npm_mirror: https://npmmirror.com/mirrors/npm/