升级node 原文地址:https://lierabbit.cn/articles/3 一.安装 n 工具,这个工具的名称很短,方便输入 npm install -g n 二.升级node至长期版或者最新版 上图为中文官网的截图 n lts //升级到LTS版本,即上图的8.9.4 n stable //升级到最新稳定版,即上图的9.4.0 三.n工具其它的一些命令 n 输出已安装的node版本n lates…
CentOS上可以通过下载*.tar.gz安装包的方式自己解压缩.编译的方式安装,同时还可以采用EPEL的方式安装: Node.js and npm are available from the Fedora Extra Packages for Enterprise Linux (EPEL) repository. If you haven't already done so, firstenable EPEL. To check if you have EPEL, run yum repol…
转自:https://rtcamp.com/tutorials/nodejs/node-js-npm-install-ubuntu/ Compiling is way to go for many but I am mostly in hurry so following works for me! Adding Chris Lea's Repo Using Launchpad repo by Chris Lea just run following commands apt-get insta…