node.js - 如何把node更新到最新的稳定版本
阿神
阿神 2017-04-17 16:12:06
0
3
522

本地环境Ubuntu16.04

当前node版本4.2.6

官方的最新node版本是6.10.0

在终端如何更新为最新稳定版

阿神
阿神

闭关修行中......

reply all(3)
Peter_Zhu

It is recommended to install n first, and then use n to upgrade node to the latest stable version

$ npm install -g n$ npm install -g n

$ n stable

$ n stable🎜
PHPzhong

On the three major platforms, you can use n or nvm to upgrade node.
But many times, it will be unsatisfactory. At this time, you can use mirror.
Of course, based on my previous experience, downloading directly would be an additional option if the command line does not work well.
For details, please refer to: NodeJs upgrade/installation notes.

迷茫

You can use n or nvm. Both can manage node versions, and the specific usage methods can be found by searching.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template