I organized the Settings of 3 common package management tools, saved them and copied and pasted them when I used them.

🍖 NPM

Look at the source

npm get registry

A temporary change

npm –registry registry.npm.taobao.org install any-touch

Permanent use

npm config set registry registry.npm.taobao.org

reduction

npm config set registry registry.npmjs.org

🥩 yarn

Look at the source

yarn config get registry

A temporary change

yarn add any-touch@latest –registry=registry.npmjs.org/

Lasting change

yarn config set registry registry.npm.taobao.org/

🍔 PNPM

Look at the source

pnpm get registry

A temporary change

pnpm –registry registry.npm.taobao.org install any-touch

Permanent use

pnpm config set registry registry.npm.taobao.org

reduction

pnpm config set registry registry.npmjs.org

🍕 Learning interaction

Thank you for your reading. If you have any questions, you can add me to the wechat group, and I will pull you into the wechat group (Because Tencent limits the number of wechat groups to 100, when the number exceeds 100, you must be joined by group members).