UNPKG

@cliz/nrm

Version:
76 lines (53 loc) 2.39 kB
# nrm - NPM registry manager > nrm can help you easy and fast switch between different npm registries, now include: npm, yarn, cnpm, tencent, taobao ... ## Install ```bash $ npm install -g @cliz/nrm ``` ## How to ``` USAGE ▸ nrm <command> [ARGUMENTS...] [OPTIONS...] COMMANDS — Type 'nrm help <command>' to get some help about a command add Add a new registry current Show current registry ls List all available registries remove Remove an exist registry update Update a registry use Change registry GLOBAL OPTIONS -h, --help Display global help or command-related help. -V, --version Display version. --no-color Disable use of colors in output. -v, --verbose Verbose mode: will also output debug messages. --quiet Quiet mode - only displays warn and error messages. --silent Silent mode: does not output anything, giving no indication of success or failure other than the exit code. ``` ## Examples ```bash $ nrm ls npm NPM Official Registry https://registry.npmjs.org/ yarn YARN Registry https://registry.yarnpkg.com/ github Github NPM Registry https://npm.pkg.github.com cnpm CNPM Registry https://r.cnpmjs.org/ tencent Tencent NPM Registry https://mirrors.cloud.tencent.com/npm/ taobao Taobao NPM Registry https://registry.npmmirror.com/ couchdb CouchDB NPM Registry https://skimdb.npmjs.com/registry/ ``` ```bash $ nrm use taobao Registry has been set to: taobao (https://registry.npmmirror.com/) ``` ## Contributors * [whatwewant](https://github.com/whatwewant) ## LICENSE MIT