6

node, npm 升级

 3 years ago
source link: https://yjyj.net/learn/centos/6202.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

node, npm 升级

2021-05-18
# 先安装模块n
npm install n -g
# 将 node 升级到最新稳定版
n stable

# 将 npm 升级到最新版
npm install npm -g
# 如果要指定版本,可以通过@指定版本
# npm install [email protected] -g 

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK