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

推荐订阅源

美团技术团队
罗磊的独立博客
SecWiki News
SecWiki News
The Register - Security
The Register - Security
The GitHub Blog
The GitHub Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
S
Schneier on Security
IT之家
IT之家
博客园 - 聂微东
T
The Exploit Database - CXSecurity.com
Recorded Future
Recorded Future
大猫的无限游戏
大猫的无限游戏
Know Your Adversary
Know Your Adversary
Latest news
Latest news
Vercel News
Vercel News
G
GRAHAM CLULEY
D
DataBreaches.Net
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
SegmentFault 最新的问题
博客园_首页
雷峰网
雷峰网
T
Tenable Blog
Spread Privacy
Spread Privacy
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
酷 壳 – CoolShell
酷 壳 – CoolShell
Cisco Talos Blog
Cisco Talos Blog
V
Visual Studio Blog
J
Java Code Geeks
博客园 - Franky
The Cloudflare Blog
Apple Machine Learning Research
Apple Machine Learning Research
C
CERT Recently Published Vulnerability Notes
T
Threatpost
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
P
Privacy International News Feed
T
Threat Research - Cisco Blogs
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
Recent Announcements
Recent Announcements
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
U
Unit 42
M
MIT News - Artificial intelligence
Y
Y Combinator Blog
K
Kaspersky official blog
有赞技术团队
有赞技术团队
B
Blog
腾讯CDC

博客园 - 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/