Mac下升级node到最新版本

建议先装n,再用n把node升级到最新稳定版:

$ npm install -g n

$ n stable

原文地址:https://www.cnblogs.com/xuzhudong/p/8310384.html