下载官方对应计算机版本,无脑下一步 npm-v 测试安装是否成功 切换淘宝镜像 npm config set registry http://registry.npm.taobao.org/ npm get registry