- 查看当前的镜像源
npm config get registry
- 切换淘宝镜像源
npm config set registry=https://registry.npm.taobao.org/
本文介绍了如何使用npm命令来查看当前的镜像源,并详细步骤展示了如何切换到淘宝镜像源,以提高npm包的下载速度。
npm config get registry
npm config set registry=https://registry.npm.taobao.org/

被折叠的 条评论
为什么被折叠?