加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
sishen 提交于 2023-08-14 15:55 . fix: fix img show error

pro-nzm

English | 简体中文

✨ Introduce

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!

📦 Install

npm i -g pro-nzm
cnpm i -g pro-nzm
yarn add -g pro-nzm
pnpm add -g pro-nzm

🔨 Usage

You can use nzm add [name] [url] add new address source:

add

You can use nzm -h to check all command list:

image-20230814155511899

You can use nzm ls to check all address list:

ls

You can use nzm use <name> to switch address source:

Default Switch All, with the same effect as using nzm use <name> --all

use

You can also specify the packet manager to switch address sources, use nzm use <url> [extend]:

extend

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化