npm, yarn查看源和换源

npm/yarn config get registry // 查看npm当前镜像源

npm config set registry https://registry.npm.taobao.org/ // 设置npm镜像源为淘宝镜像

你可能感兴趣的:(npm, yarn查看源和换源)