【个人笔记重点,不作为参考】主题:升级nodejs版本

xiaoxiao2021-02-28  76

1、首先安装n模块

这里需要全局安装,命令如下:

npm install -g n

2.1、升级node.js到最新稳定版

命令如下:

n stable

2.2、升级到指定版本

n x.x.x

https://my.oschina.net/blogshi/blog/260953  

转载请注明原文地址: https://www.6miu.com/read-97114.html

最新回复(0)