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

推荐订阅源

Engineering at Meta
Engineering at Meta
人人都是产品经理
人人都是产品经理
aimingoo的专栏
aimingoo的专栏
M
MIT News - Artificial intelligence
Recent Announcements
Recent Announcements
V
Visual Studio Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
MyScale Blog
MyScale Blog
Hugging Face - Blog
Hugging Face - Blog
宝玉的分享
宝玉的分享
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 叶小钗
博客园 - 聂微东
U
Unit 42
F
Fortinet All Blogs
Microsoft Security Blog
Microsoft Security Blog
GbyAI
GbyAI
IT之家
IT之家
The GitHub Blog
The GitHub Blog
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
Y
Y Combinator Blog
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)

Node - 标签 - cywhat's blog

avn自动切换node版本 npm切换版本 nvm: Cannot uninstall currently-active node version, vx.x.x (inferred from x.x.x) Linux管理node版本 Linux/macos安装newman npm缺少css-loader,/style-compiler,stylus-loader问题,npm没有权限无法全局更新问题
node切换版本
cywhat · 2021-08-18 · via Node - 标签 - cywhat's blog

目录

cywhat 收录于 Node

   约 142 字  预计阅读 1 分钟    次阅读     条评论

目录

1.安装n

1
npm install -g n

2.使用 n 下载所需node

1
n 10.16.3  #版本号 不需要加v

3.下载最新版本

1
n latest

4.删除某个版本

1
n rm 10.16.3  #版本号 不需要加v

5.查看已安装版本

1
n ls

6.新安装的node版本,需要使用ls切换

1
n ls 10.16.3 #会出现所安装的所有node版本,使用版本在最上方

7.查看node版本

1
node -v

关注一下再走吧

公众号 小程序

赞赏支持

微信打赏 支付宝打赏

更新于 2021-08-17

 Node
返回 | 主页