nrm use and installation

nrm npm source is a manager that allows you to quickly switch between npm source.

Installation nrm

In the Run command line terminal, npm install -g nrmthe global installation nrm.

Run nrm ls to see the available sources.

Here Insert Picture Description
Among them, a source with * are currently in use, the above output indicates that the current source is the official source.

View current source

In the command input terminal nrm currentyou can see now use that source
Here Insert Picture Description

Handover source address

By using the nrm use 源名称possible handover source address
Here Insert Picture Description

Delete source

By using nrm del <registry>you can delete the source address switch

Speed ​​test

By using the nrm test <registry>command to test the response time of the source
Here Insert Picture Description

Published 76 original articles · won praise 71 · views 1836

Guess you like

Origin blog.csdn.net/Govern66/article/details/104367136