
博客
/
Devops
/
5个月前
/
1405
/
1
/
更新于 5个月前
Ubuntu18.04
默认安装了 Nodejs v8.x
版本
$ curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
$ sudo bash nodesource_setup.sh
$ sudo apt install nodejs
# 需要从源代码编译代码的 NPM 包
$ sudo apt install build-essential
$ node -v
$ npm -v
粤ICP备18099781号-6
|
粤公网安备 44030502004330号
|
违法和不良信息举报
由 Summer 设计和编码 ❤
我是用这个升级