Use the nrm image management tool for npm source management

NPM registry manager

https://www.npmjs.com/package/nrm

nrm can help you easy and fast switch between different npm registries, now include: npm, cnpm, taobao, nj(nodejitsu).

Install

npm install -g nrm

insert image description here

use

You can use the following command to help

nrm -h

insert image description here

view all sources

nrm ls

insert image description here

add source

Here I just wrote a test source

nrm add kaimo666 http://kaimo666.com/npm

insert image description here

nrm ls

insert image description here

switch source

nrm use kaimo666

insert image description here

An asterisk indicates the current source

nrm ls

insert image description here

view current source

nrm current

insert image description here

delete source

nrm del kaimo666

insert image description here
After deleting it is gone
insert image description here

Guess you like

Origin blog.csdn.net/kaimo313/article/details/130591323