$npm config set registry https://registry.npm.taobao.org/ #设置淘宝镜像地址 $ npm config get registry #查看镜像地址 npm config set strict-ssl false npm config set registry https://registry.npmmirror.com [https://registry.npmmirror.com/node/ https://registry.npmmirror.com/npm/](https://registry.npmmirror.com/node/ https://registry.npmmirror.com/npm/) [pnpm](npm+%E6%BA%90+0effaa8e-165a-4f90-9c8f-b33e21454cc3/pnpm%20aab5d6ff-9391-479a-a751-e4634da951a9.md)