NPM storage

The storage address of NPM is divided into project level, system level and software level. The priority of project level is the highest and descending in order. The configuration is in the.npmrc file.

Using the command NPM config from the command line, you can see the command prompt:

Check the local configuration before configuring the system-level storage address:

Use the following command: NPM config set registry = http://x.x.x.x:xxxx/nexus/repository/npm-all/ configuration company warehouse address, then view the local configuration, warehouse, we can see on the configured registry configured, The configuration file.npmrc is in path C:\Users\luckyduck.npmrc

You can also use the command to view the current repository NPM get Registry

NRM Image management tool

NRM ls Displays all available source IP addresses and the current source IP address of the mirror. NRM use Uses the mirror name to switch between different source IP addresses

NRM current View The current source using NRM add

< URL > to add the source

NRM del

deletes the source