npm设置自定义镜像 npm设置淘宝镜像

npm设置自定义镜像 npm设置淘宝镜像

木头人 1,301 2021-11-29

查看镜像

npm config get registry

设置镜像

# 淘宝镜像

npm config set registry https://registry.npm.taobao.org

# 原镜像

npm config set registry https://registry.npmjs.org/


# npm