# 设置npm镜像源为淘宝镜像
npm config set registry https://registry.npm.taobao.org
# 查看npm镜像源
npm config get registry
# 查看npm源上某个依赖包(如:antd)信息
npm info antd
# 设置npm镜像源为淘宝镜像
npm config set registry https://registry.npm.taobao.org
# 查看npm镜像源
npm config get registry
# 查看npm源上某个依赖包(如:antd)信息
npm info antd
本文标题:npm设置淘宝镜像
本文链接:https://www.haomeiwen.com/subject/stgyvrtx.html
网友评论