node. JS Version Upgrade

Source: Internet
Author: User

1. Upgrade via N module
注意:到目前(2016-05-28)为止,模块n不支持windows
Install module N First
install -g n
Using the n command

Press to install stable version

n stable

Press to install the latest version

n latest

Specify version number

n 版本号
2. Download the installation package overlay installation from the official website
Windows特别好用
3. Other commands
NPMUpdate#升级当前目录下的项目的所有模块NPMUpdate–g#更新已安装的NPM库NPM-V#显示版本, check that NPM is installed correctly. NPMInstall Express#安装express模块NPMInstall-g Express#全局安装express模块NPMShow Express#显示模块详情NPMUpdate Express#升级当前目录下的项目的指定模块NPMUpdate-g Express#升级全局安装的express模块NPMUninstall Express#删除指定的模块NPMList#列出已安装模块

node. JS Version Upgrade

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.