node and npm

Download and install node, installed after the node comes with a default npm

sudo apt install node

View version

node -v

asl -v

Mirror mounting nrm switcher

npm install nrm -g

After installation use

NRM ls

View Mirror

nrm test npm test speed current mirror used npm

nrm test taobao Taobao can test the speed of the mirror

use

nrm use taobao switched to mirror taobao

After switching to taobao, you can first use

NRM ls

Taobao mirror to see if the cut, and then use

NRM test asl

Test (short delay will be much lower on the right!)

 

Note: Be sure to restart the installation finished! ! ! !

Guess you like

Origin www.cnblogs.com/WaterGe/p/11704642.html