解决国内npm下载慢的问题 使用nrm配置npm源

安装nrm

npm i -g nrm

查看有哪些镜像源可用

nrm ls

在这里插入图片描述

切换镜像源(比如taobao)

nrm use taobao

在这里插入图片描述

再次查看npm镜像源

nrm ls

在这里插入图片描述
切换成功!

猜你喜欢

转载自blog.csdn.net/bean_business/article/details/108804705
今日推荐