vagrant@ubuntu-xenial:~$ curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -// 出现这个就说明正在成功安装了!## Installing the NodeSource Node.js v6.x repo...## Populating apt-get cache...+ apt-get update Hit:1http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial InRele...
vagrant@ubuntu-xenial:~$ curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -// 出现这个就说明正在成功安装了!## Installing the NodeSource Node.js v6.x repo...## Populating apt-get cache...+ apt-get update Hit:1http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial InRele...
第一步指定版本源 执行curl -sLhttps://deb.nodesource.com/setup_6.x| sudo -E bash - setup_5.x 需要安装的版本号,替换数字就行。 vagrant@ubuntu-xenial:~$ curl-sL https://deb.nodesource.com/setup_6.x | sudo -E bash -// 出现这个就说明正在成功安装了!## Installing the NodeSource Node...