openEuler欧拉安装指定版本的nodejs.240112
1. 安装nodejs
dnf -y install nodejs
npm config set registry https://registry.npmmirror.com -g
npm config get registry https://registry.npmmirror.com
2. 安装n
npm install n -g
npm cache verify
n 10 # 选择版本10 安装后npm出错
n 16 # 装个新版的
n #择机选择回10
喜欢请赞赏一下啦^_^赞赏后请加wx:weyocul,相关文章提到的的安装包稍后给到哦!没有收到赞赏直接加我的,直接无视哈!

浙公网安备 33010602011771号