会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
代码改变世界
Cnblogs
Dashboard
Login
Home
Contact
Gallery
Subscribe
RSS
木木不在
随笔分类 -
node
升级node
2022-10-10 11:30 by 木木不在, 414 阅读,
收藏
,
编辑
摘要: 步骤1:清除nodejs的缓存:sudo npm cache clean -f 步骤2:使用npm安装n模块:sudo npm install -g n (步骤2中安装后,会列出安装目录) 步骤3:查看node的版本:npm view node versions 步骤4: 升级到指定版本:sudo
阅读全文
0 Comment
About