`Nrm` of installation

Role: to provide some of the most commonly used NPM package mirror address, allows us to quickly switch to install the server address of the packet time;
what is the mirror image: the original package very beginning is only present in the foreign NPM server, but due to network reasons, often not visit this time, we can at home, and create a NPM official website exactly the same server, but the data are taking over from where people, in addition, using exactly the same way;

1. Run `npm i nrm -g` global installation package` nrm`;
2. `nrm ls` View all available current mirror source address and the source address of the current mirror being used;
3.` nrm use npm` or `nrm use taobao` different switching mirror source address;                              

 

Guess you like

Origin www.cnblogs.com/sylys/p/11407386.html