viptool / 参考资料 / 包管理器国内源参考
参考资料

包管理器国内源参考

请根据可用性、可信度和组织策略选择镜像。

数值名称说明
npm config set registry https://registry.npmmirror.comnpm / npmmirror设置 npm 仓库,使用前确认镜像当前政策。
npm config delete registrynpm reset恢复 npm 默认仓库配置。
yarn config set registry https://registry.npmmirror.comYarn classic设置 Yarn Classic 仓库。
pnpm config set registry https://registry.npmmirror.compnpm设置 pnpm 仓库。
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simplepip / TUNA配置 PyPI 镜像。
go env -w GOPROXY=https://goproxy.cn,directGo modules设置 Go 模块代理并保留直连回退。
GEM_SOURCE=https://mirrors.tuna.tsinghua.edu.cn/rubygems/RubyGems / TUNARuby Gems 镜像地址。
https://maven.aliyun.com/repository/publicMaven public mirrorMaven 公共镜像地址。
docker pull docker.io/library/nginxDocker Hub canonical配置中建议使用明确的规范镜像名。

来源: npm registry configuration复核日期: 2026-07-11

如何使用 包管理器国内源参考

  1. 在上方输入或选择需要处理的数据。
  2. 点击“搜索”执行操作。
  3. 检查结果,并在需要时复制、调整输入后重新执行。

包管理器国内源参考常见问题

这个工具会保存我的数据吗?

此工具的主要处理过程在你的浏览器中完成,viptool 不会上传或保存你输入的内容。

为什么结果可能与其他网站不同?

结果取决于输入格式、计算规则和数据更新时间。涉及实时数据时,请以页面标明的数据来源及其更新时间为准。