node有一个模块n,是专门用来管理node.js的版本的。

安装n模块:npm install -g n

升级node.js到最新稳定版  n stable

安装指定版本: n v6.11.5

相关文章: