NRM-NPM image source management tool


1. Introduction

nrm is a mirror source management tool of npm, which can help to quickly switch mirror sources and facilitate management.

2. Installation

Enter commands in the terminal (Mac) or cmd command window (windows) to install globally

npm install nrm -g

view version

nrm -V

Three, nrm use

View available sources

nrm ls

NRM-NPM image source management tool

  • View the current source: nrm current
  • Switch source: nrm use<registry>
  • Add source: nrm add<registry><url> For example: nrm add aaaaa
  • Delete source: nrm del<registry>
  • Response time of the test source: nrm test<registry>