方便日常使用,记录一下。 查看npm源 npm config get registry npm源 设置 设置源为淘宝镜像 npm config set registry https://registry.npm.taobao.org