1、准备工作,安装GCC等2、下载源码并且解压 (NodeJs 官网)3、编译 cd node-v6.10.3./configure make && make install 4、验证是否安装成功node-v显示版本号说明安装已经成功了.