npm的nrm命令使用--设置镜像地址 npm下载会很慢,因为npm默认从国外下载资源,建议修改npm镜像源地址 1.运行npm i nrm -g全局安装nrm包; 2.使用nrm ls查看当前所有可用的镜像源地址以及当前所使用的镜像源地址; 3.使用nrm use taobao切换镜像源地址