0
点赞
收藏
分享

微信扫一扫

openEuler欧拉安装指定版本的nodejs

泠之屋 2024-01-18 阅读 11

1. 安装nodejs

dnf -y install nodejs
npm config set registry https://registry.npm.taobao.org -g
npm config get registry https://registry.npm.taobao.org/

2. 安装n

npm install n -g
npm cache verify 
n 10
n # 选择版本10


举报

相关推荐

0 条评论