English | 简体中文
Note: The inspiration for this library comes from the problem of only switching npm when using nrm
You can use this library to help npm, cnpm, yarn and pnpm quickly switch download address sources. Also, you can specify single or multiple address sources for switching.
This library will save you a lot of trouble switching address sources!
npm i -g pro-nzm
cnpm i -g pro-nzm
yarn add -g pro-nzm
pnpm add -g pro-nzm
You can use nzm add [name] [url]
add new address source:
You can use nzm -h
to check all command list:
You can use nzm ls
to check all address list:
You can use nzm use <name>
to switch address source:
Default Switch All, with the same effect as using
nzm use <name> --all
You can also specify the packet manager to switch address sources, use nzm use <url> [extend]
:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。