一共只有两行命令: 首先安装n模块: sudo npm install -g n 再在终端输入: sudo n stable 然后哈哈哈,大功告成啦..... 再node -v ,就可以查看版本号变最新稳定版的了