分享 / 0 / 1 / 创建于 7年前 / 更新于 5年前
首选安装ubuntu默认的nodejs
sudo apt-get install nodejs sudo apt install nodejs-legacy sudo apt install npm
设置国内镜像:
sudo npm config set registry https://registry.npm.taobao.org
安装 n :
n
sudo npm install n -g
更新Nodejs到最新稳定版本:
sudo n stable sudo node -v
保持学习 :beer:
原文地址
学习了
我要举报该,理由是:
学习了