nvm

Node.js Version Manager, recommended for installing Node.js.

  • Mac version project address
  • Windows version project address

The Windows version installed

Go to the download page to find the installation package:

Follow the boot installation.

Enter NVM -v to check whether the installation is successful. If yes, the following figure shows the installation. If you are prompted not to find the command, see here.

Common NVM commands

Install the specified node NVM install version number

Delete the node NVM uninstall version of the specified version

Switch to the node NVM use version of the specified version

View the NVM list or NVM LS of all locally installed node versions

npm

Node.js Package Manager, the Package Manager of Node.js, comes with NPM after installing Node.js.

Enter NPM -v to view the current VERSION of NPM.

Installation failed

If there is a NVM or not find command to the failure of the node installation, please check here: segmentfault.com/a/119000001…

nrm

NPM Registry Manager, the project address.

Because it is slow to install packages using the official NPM source in China, it is often necessary to change the NPM source address. NPM does provide a way to modify sources, but NRM is much more convenient and fast.

Install the NRM

Use NPM global installation

npm install -g nrm

NRM Common command

All mirror sources are displayed

nrm ls

Use the Taobao image source

nrm use taobao

speed

nrm test

See the help

nrm -h

Refer to the link

  1. Getting started with Node.js (including NVM, NPM, and NVM installation)
  2. NRM is used for source management of NPM