# MirrorsProxy.Download(GitHub 加速下载代理工具站) > MirrorsProxy.Download 是免费的一站式开发资源镜像加速与换源工具站:GitHub / Docker / npm / HuggingFace / 系统镜像一键加速,80+ 项工具换源指南,纯前端、免登录、用完即走。 --- ## 常见问题(https://mirrorsproxy.download/faq) ### 为什么 GitHub 下载 / 克隆这么慢? GitHub 的文件分发节点主要部署在海外,国内直连的带宽和路由质量不稳定,高峰期尤其明显。通过国内可直达的镜像节点反代 GitHub 资源,可以显著提升下载速度。 ### 加速链接安全吗?会篡改文件吗? 本站只负责把原始 GitHub 链接拼接为镜像节点地址,不做任何中转存储。镜像节点由社区提供、本质是反向代理。对安全性敏感的场景(如编译环境依赖),建议校验文件哈希,或参考「自建加速节点」指南部署自己的 Worker 节点。 ### 有文件大小限制吗? 前缀代理节点一般没有硬性限制,但超大文件建议自建节点以保证速度。jsDelivr CDN 仅支持单文件不超过 20 MB 的 Raw 文件。 ### 如何让 git clone 一直自动加速? 用 git 的 insteadOf 配置把 github.com 的请求全局重写到加速节点,一次配置长期生效,详见《Git Clone 加速》指南。 ### 本机有代理(梯子),还需要镜像加速吗? 不需要。给 git 直接配置 HTTP/SOCKS 代理更可靠,流量只经过你自己的代理,不经第三方镜像,配置方法见《Git 代理配置》指南。 ### pip / go get / Docker 镜像能加速吗? go get、pip install git+https 这类最终走 git 协议的场景可以用 insteadOf 全局加速;go 生态建议直接换用国内 module proxy(GOPROXY=goproxy.cn)。Docker Hub 等非 GitHub 资源不在本站范围内。 ### 在 VSCode / JetBrains IDE 里怎么用? clone 时把仓库地址替换为加速地址,粘贴到 IDE 的 URL 栏即可,后续 fetch / pull 也会走加速节点。也可以在 IDE 内置终端里配置 insteadOf,一劳永逸。 ### 镜像节点失效了怎么办? 换用结果列表中的其他节点;本站节点列表集中在一个配置文件中,发现失效可到仓库提 Issue 或自行修改。也可以按《自建 Cloudflare Worker 加速节点》指南 10 分钟部署一个专属节点。 ### 除了 GitHub,还能加速什么? 本站覆盖几乎所有开发产物的下载加速:Docker / OCI 容器镜像(含 ghcr、gcr、k8s、quay)、npm 包 CDN、Hugging Face 模型与数据集、Linux / Windows / 树莓派系统镜像、Node / Go / JDK / Git 等工具链安装包、ChromeDriver / Electron / Playwright 浏览器二进制、前端公共 CDN 与 ESM 模块、Google Fonts / Gravatar 等网站服务。详见「换源」索引。 ### Docker pull 慢怎么加速? 把镜像引用粘贴到首页工具(如 nginx:latest、ghcr.io/user/app:tag),自动生成 DaoCloud 等 registry 镜像的 pull 地址;或按《Docker Hub》《Docker 多仓库镜像》指南配置 daemon.json 的 registry-mirrors 全局生效。公共加速器时效性强,失效请换节点或自建 registry 缓存。 ### Hugging Face 模型下载慢怎么办? 设置 HF_ENDPOINT=https://hf-mirror.com 后用 hf / huggingface-cli / hfd 脚本下载,详见《Hugging Face》页。大模型推荐 hfd(aria2 多线程断点续传);gated 模型需先在官网申请权限并带 token。 ### 系统镜像(Ubuntu / Windows ISO)去哪下最快? Linux 发行版 ISO 与云镜像用清华 / 中科大 / 阿里云镜像站(见 Ubuntu / Debian / Rocky / Arch / Fedora 页),下载后核对官方 SHA256。Windows 优先微软官方或 ITellYou 聚合的官方哈希链接,不要用来路不明的精简版。 ### npm install / Electron / Playwright 下载二进制慢? registry 换 npmmirror(见 npm 页);Electron 设 ELECTRON_MIRROR、Playwright 设 PLAYWRIGHT_DOWNLOAD_HOST、Puppeteer 设 PUPPETEER_DOWNLOAD_BASE_URL 指向 npmmirror 二进制镜像(见 Electron / ChromeDriver 页)。 ### 加速链接会被记录或泄露吗? 不会。全部识别与拼接在你的浏览器内完成,本站为纯静态站点,无后端、无数据库、无追踪脚本,你提交的链接不会上传到任何服务器。镜像节点是第三方反向代理,敏感内容请校验哈希或自建节点。 ### 可以把本站当作 API 调用吗? 可以无需 API:加速链接就是「镜像前缀 + 原始 URL」的确定性拼接,规则已写在 /llms.txt 供程序与 AI 直接复用。npm 版本查询可用 jsDelivr data API 或 npmmirror registry(均免费公开)。本站不提供自有后端接口。 --- ## 工具换源数据 ### pip · PyPI(https://mirrorsproxy.download/pypi) Python 包索引 PyPI 的国内镜像源列表,以及 pip、uv、poetry 的换源命令,让 pip install 提速数十倍。 可用镜像源: - 阿里云: https://mirrors.aliyun.com/pypi/simple/(同步快,推荐) - 清华 TUNA: https://pypi.tuna.tsinghua.edu.cn/simple - 中科大: https://pypi.mirrors.ustc.edu.cn/simple - 腾讯云: https://mirrors.cloud.tencent.com/pypi/simple - 华为云: https://mirrors.huaweicloud.com/repository/pypi/simple - 官方: https://pypi.org/simple(还原时使用) 换源命令: 临时使用(单次安装): ```bash pip install -i https://mirrors.aliyun.com/pypi/simple/ <包名> ``` 永久设置(推荐) — 写入 pip 全局配置,等价于手工编辑 ~/.pip/pip.conf(Windows: %APPDATA%\pip\pip.ini): ```bash pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ ``` uv — 环境变量方式,或写入 uv.toml / pyproject.toml 的 [[tool.uv.index]]: ```bash export UV_DEFAULT_INDEX=https://mirrors.aliyun.com/pypi/simple/ ``` poetry: ```bash poetry config repositories.aliyun https://mirrors.aliyun.com/pypi/simple/ ``` pdm / rye / uv — pdm: pdm config pypi.url …;rye/uv 见上方 uv 环境变量或 pyproject 配置: ```bash pdm config pypi.url https://mirrors.aliyun.com/pypi/simple/ ``` 还原官方源: ```bash pip config unset global.index-url ``` --- ### npm · Node.js(https://mirrorsproxy.download/npm) npm registry 国内镜像源(npmmirror 等),含 yarn、pnpm 与 nvm 的换源配置,解决 npm install 慢的问题。 可用镜像源: - npmmirror(淘宝): https://registry.npmmirror.com(最常用,同步及时) - 腾讯云: https://mirrors.cloud.tencent.com/npm/ - 华为云: https://repo.huaweicloud.com/repository/npm/ - 官方: https://registry.npmjs.org(还原时使用) 换源命令: npm 永久设置: ```bash npm config set registry https://registry.npmmirror.com ``` npm 单次使用: ```bash npm --registry=https://registry.npmmirror.com install <包名> ``` yarn / pnpm: ```bash yarn config set registry https://registry.npmmirror.com pnpm config set registry https://registry.npmmirror.com ``` nvm 安装 Node 二进制加速 — 写入 ~/.zshrc 或 ~/.bashrc: ```bash export NVM_NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node/ ``` 还原官方源: ```bash npm config delete registry ``` --- ### cargo · Rust(https://mirrorsproxy.download/cargo) Rust crates.io 与 rustup 的国内镜像源(rsproxy 等),加速 cargo build 与 Rust 工具链安装。 可用镜像源: - 字节数据 rsproxy: https://rsproxy.cn(sparse 索引,推荐) - 上交 SJTUG: https://mirrors.sjtug.sjtu.edu.cn/crates.io-index/(git 索引) - 官方: https://crates.io(还原时使用) 换源命令: cargo 换源 — 写入 ~/.cargo/config.toml: ```toml [source.crates-io] replace-with = 'rsproxy-sparse' [source.rsproxy-sparse] registry = "sparse+https://rsproxy.cn/index/" [registries.rsproxy] index = "sparse+https://rsproxy.cn/index/" [net] git-fetch-with-cli = true ``` rustup 工具链加速 — 写入 ~/.zshrc 或 ~/.bashrc: ```bash export RUSTUP_DIST_SERVER=https://rsproxy.cn export RUSTUP_UPDATE_ROOT=https://rsproxy.cn/rustup ``` --- ### Go Modules(https://mirrorsproxy.download/go) Go 模块代理(GOPROXY)国内可用源,go get / go mod download 提速。 可用镜像源: - 七牛 goproxy.cn: https://goproxy.cn(最常用) - goproxy.io: https://goproxy.io - 阿里云: https://mirrors.aliyun.com/goproxy/ - 官方: https://proxy.golang.org(还原时使用) 换源命令: 设置 GOPROXY(推荐) — ,direct 表示未缓存的模块回源拉取: ```bash go env -w GOPROXY=https://goproxy.cn,direct ``` 还原官方代理: ```bash go env -w GOPROXY=https://proxy.golang.org,direct ``` --- ### Maven · Gradle(https://mirrorsproxy.download/maven) Maven Central 国内镜像源(阿里云等),settings.xml 与 Gradle 的换源配置,加速依赖下载。 可用镜像源: - 阿里云 public: https://maven.aliyun.com/repository/public(聚合 central+jcenter,推荐) - 腾讯云: https://mirrors.cloud.tencent.com/nexus/repository/maven-public/ - 华为云: https://repo.huaweicloud.com/repository/maven/ - 官方: https://repo.maven.apache.org/maven2/(还原时使用) 换源命令: Maven:settings.xml — 在 ~/.m2/settings.xml 的 中加入: ```xml aliyunmaven * 阿里云公共仓库 https://maven.aliyun.com/repository/public ``` Gradle:init 脚本 — 写入 ~/.gradle/init.gradle,对所有项目生效: ```groovy allprojects { repositories { maven { url 'https://maven.aliyun.com/repository/public' } } } ``` --- ### RubyGems · Bundler(https://mirrorsproxy.download/rubygems) RubyGems 国内镜像源,gem install 与 bundle install 提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/rubygems/ - RubyChina: https://gems.ruby-china.com - 官方: https://rubygems.org(还原时使用) 换源命令: gem 换源: ```bash gem sources --remove https://rubygems.org/ gem sources -a https://mirrors.tuna.tsinghua.edu.cn/rubygems/ gem sources -l ``` Bundler 镜像(只镜像官方源): ```bash bundle config mirror.https://rubygems.org https://mirrors.tuna.tsinghua.edu.cn/rubygems/ ``` --- ### Composer · PHP(https://mirrorsproxy.download/composer) Packagist 国内镜像源,composer install / update 提速。 可用镜像源: - 阿里云: https://mirrors.aliyun.com/composer/(推荐) - 腾讯云: https://mirrors.cloud.tencent.com/composer/ - 华为云: https://mirrors.huaweicloud.com/repository/php/ - 官方: https://packagist.org(还原时使用) 换源命令: 全局换源: ```bash composer config -g repos.packagist composer https://mirrors.aliyun.com/composer/ ``` 仅当前项目换源: ```bash composer config repos.packagist composer https://mirrors.aliyun.com/composer/ ``` 还原官方源: ```bash composer config -g --unset repos.packagist ``` --- ### NuGet · .NET(https://mirrorsproxy.download/nuget) NuGet 国内镜像源,dotnet restore / nuget restore 提速。 可用镜像源: - 华为云: https://repo.huaweicloud.com/repository/nuget/v3/index.json - 官方: https://api.nuget.org/v3/index.json(还原时使用) 换源命令: dotnet CLI 添加源: ```bash dotnet nuget add source https://repo.huaweicloud.com/repository/nuget/v3/index.json --name huawei ``` nuget.exe 添加源: ```bash nuget sources Add -Name huawei -Source https://repo.huaweicloud.com/repository/nuget/v3/index.json ``` --- ### conda · Anaconda(https://mirrorsproxy.download/conda) Anaconda / conda-forge 频道国内镜像,解决 conda install 慢与 CondaHTTPError。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/anaconda/(推荐) - 中科大: https://mirrors.ustc.edu.cn/anaconda/ - 北京外国语: https://mirrors.bfsu.edu.cn/anaconda/ 换源命令: 写入 .condarc — 文件位于 ~/.condarc(Windows: C:\Users\<用户名>\.condarc): ```yaml channels: - defaults show_channel_urls: true default_channels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r custom_channels: conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud ``` 清理索引缓存后生效: ```bash conda clean -i conda create -n demo python=3.12 ``` --- ### Julia Pkg(https://mirrorsproxy.download/julia) Julia 包服务器(PkgServer)国内镜像,Pkg.add 提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/julia(推荐) - 中科大: https://mirrors.ustc.edu.cn/julia - 官方: https://pkg.julialang.org(还原时使用) 换源命令: 环境变量(推荐) — 写入 ~/.zshrc / ~/.bashrc,或写入 ~/.julia/config/startup.jl:ENV["JULIA_PKG_SERVER"] = "…": ```bash export JULIA_PKG_SERVER=https://mirrors.tuna.tsinghua.edu.cn/julia ``` --- ### Dart pub · Flutter(https://mirrorsproxy.download/dart-pub) Dart pub 与 Flutter SDK 国内镜像,flutter pub get / doctor 提速。 可用镜像源: - 清华 TUNA pub: https://mirrors.tuna.tsinghua.edu.cn/dart-pub - 清华 Flutter 存储: https://mirrors.tuna.tsinghua.edu.cn/flutter - Flutter 官方社区镜像: https://pub.flutter-io.cn(配套 storage.flutter-io.cn) 换源命令: 环境变量 — 写入 ~/.zshrc / ~/.bashrc: ```bash export PUB_HOSTED_URL=https://mirrors.tuna.tsinghua.edu.cn/dart-pub export FLUTTER_STORAGE_BASE_URL=https://mirrors.tuna.tsinghua.edu.cn/flutter ``` --- ### CocoaPods(https://mirrorsproxy.download/cocoapods) CocoaPods Specs 仓库国内镜像,pod install 提速。 可用镜像源: - 清华 TUNA Specs: https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git(git 仓库) - 官方 CDN: https://cdn.cocoapods.org/(默认源,还原时使用) 换源命令: 添加镜像 repo 并在 Podfile 使用: ```bash pod repo add tuna https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git ``` Podfile 顶部指定源: ```ruby source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git' ``` --- ### R · CRAN(https://mirrorsproxy.download/cran) CRAN 国内镜像源,install.packages 提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/CRAN/(推荐) - 中科大: https://mirrors.ustc.edu.cn/CRAN/ - 阿里云: https://mirrors.aliyun.com/CRAN/ 换源命令: 写入 ~/.Rprofile(全局生效): ```r options(repos = c(CRAN = "https://mirrors.tuna.tsinghua.edu.cn/CRAN/")) ``` RStudio 图形界面 — Tools → Global Options → Packages → Primary CRAN repository 选择国内镜像: ```text Tools > Global Options > Packages > Change… ``` --- ### Python 解释器下载(https://mirrorsproxy.download/python) Python 官方安装包(python.org/ftp)国内镜像,以及 pyenv / uv 安装 Python 时的下载加速。 可用镜像源: - 华为云: https://mirrors.huaweicloud.com/python/(官方 ftp 全量镜像) - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/python/(官方 ftp 镜像) - npmmirror: https://registry.npmmirror.com/-/binary/python/(二进制镜像) - 官方: https://www.python.org/ftp/python/(还原时使用) 换源命令: 直接下载安装包 — 把 python.org/ftp/python 换成镜像路径,版本号与文件名不变: ```bash wget https://mirrors.huaweicloud.com/python/3.12.3/Python-3.12.3.tgz ``` pyenv 安装加速 — PYTHON_BUILD_MIRROR_URL 指向镜像;写入 ~/.zshrc / ~/.bashrc: ```bash export PYTHON_BUILD_MIRROR_URL=https://mirrors.huaweicloud.com/python/ export PYTHON_BUILD_MIRROR_URL_SKIP_CHECKSUM=1 pyenv install 3.12.3 ``` uv 安装 Python 加速: ```bash export UV_PYTHON_INSTALL_MIRROR=https://registry.npmmirror.com/-/binary/python-build-standalone/ uv python install 3.12 ``` --- ### apt · Ubuntu / Debian(https://mirrorsproxy.download/apt) Ubuntu 与 Debian 的 apt 软件源国内镜像,apt update / install 提速,含 24.04 deb822 新旧两种格式。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/ubuntu/(Debian: /debian/) - 阿里云: https://mirrors.aliyun.com/ubuntu/(Debian: /debian/) - 中科大: https://mirrors.ustc.edu.cn/ubuntu/ - 腾讯云: https://mirrors.cloud.tencent.com/ubuntu/ 换源命令: 一键替换(最简单) — 把默认源域名替换为阿里云,Ubuntu 24.04 前的版本适用;Debian 把 security.debian.org 一并替换。Zorin / Trisquel / Linux Lite 等 Ubuntu 衍生版同样替换 archive.ubuntu.com 即可: ```bash sudo sed -i "s|archive.ubuntu.com|mirrors.aliyun.com|g; s|security.ubuntu.com|mirrors.aliyun.com|g" /etc/apt/sources.list sudo apt update ``` Ubuntu 24.04+(deb822 格式) — 编辑 /etc/apt/sources.list.d/ubuntu.sources,把 URIs 改为: ```bash URIs: https://mirrors.aliyun.com/ubuntu/ ``` Debian 手动配置 — 编辑 /etc/apt/sources.list(以 Debian 12 bookworm、清华源为例): ```bash deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware deb https://mirrors.tuna.tsinghua.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware ``` --- ### dnf · Fedora / RHEL 系(https://mirrorsproxy.download/dnf) Fedora、RHEL、CentOS Stream、Rocky/Alma 的 dnf/yum 软件源国内镜像。 可用镜像源: - 阿里云: https://mirrors.aliyun.com/fedora/(提供现成 repo 配置) - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/fedora/ - 中科大: https://mirrors.ustc.edu.cn/fedora/ 换源命令: 下载现成 repo 文件(推荐) — 阿里云提供的配置;Rocky/Alma 可用 aliyun 镜像站的 rockylinux 路径: ```bash sudo curl -o /etc/yum.repos.d/fedora.repo https://mirrors.aliyun.com/repo/fedora.repo sudo curl -o /etc/yum.repos.d/fedora-modular.repo https://mirrors.aliyun.com/repo/fedora-modular.repo sudo curl -o /etc/yum.repos.d/fedora-updates.repo https://mirrors.aliyun.com/repo/fedora-updates.repo sudo dnf makecache ``` 手动替换 baseurl — 注释 metalink、启用 baseurl 并指向镜像站: ```bash sudo sed -i 's|^metalink=|#metalink=|; s|^#baseurl=http://download.example/pub/fedora/linux|baseurl=https://mirrors.tuna.tsinghua.edu.cn/fedora|' /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/fedora-updates.repo ``` --- ### pacman · Arch(https://mirrorsproxy.download/pacman) Arch Linux 与 archlinuxcn 仓库的国内镜像源,pacman -Syu 提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/archlinux/ - 中科大: https://mirrors.ustc.edu.cn/archlinux/ - 阿里云: https://mirrors.aliyun.com/archlinux/ 换源命令: mirrorlist 置顶镜像(推荐) — 插入到 /etc/pacman.d/mirrorlist 第一行;Manjaro / Artix / EndeavourOS / BlackArch 等 Arch 衍生版同样替换 mirrorlist 即可: ```bash sudo sed -i "1i Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/\$repo/os/\$arch" /etc/pacman.d/mirrorlist sudo pacman -Syyu ``` archlinuxcn 仓库 — 在 /etc/pacman.conf 末尾追加,然后导入密钥: ```bash [archlinuxcn] Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch ``` 导入 archlinuxcn 密钥: ```bash sudo pacman-key --lsign-key "farseerfc@archlinux.org" sudo pacman -S archlinuxcn-keyring ``` --- ### Homebrew(https://mirrorsproxy.download/homebrew) Homebrew 的国内镜像(API / bottles / 仓库全套),brew install 提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles(API + bottles 全套) - 中科大: https://mirrors.ustc.edu.cn/homebrew-bottles - 阿里云: https://mirrors.aliyun.com/homebrew/ 换源命令: 环境变量(清华源,推荐) — 写入 ~/.zshrc(bash 用户写 ~/.bash_profile): ```bash export HOMEBREW_API_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api" export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles" export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git" export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git" ``` 重置已克隆的仓库后生效: ```bash brew update-reset brew update ``` --- ### Docker Hub(https://mirrorsproxy.download/docker-hub) Docker Hub 镜像加速器(registry-mirrors)配置方法与目前可用的公共加速地址;ghcr/gcr/k8s 等其他仓库见「Docker 多仓库镜像」。 可用镜像源: - DaoCloud: https://docker.m.daocloud.io(公共加速器,推荐) - 1MS: https://docker.1ms.run(公共加速器) - 1Panel: https://docker.1panel.live(社区节点) - RatDev: https://hub.rat.dev(社区节点) - 官方: https://registry-1.docker.io(还原时使用) 换源命令: 配置 daemon.json — 编辑 /etc/docker/daemon.json(Windows Docker Desktop 在设置 → Docker Engine): ```json { "registry-mirrors": [ "https://docker.m.daocloud.io", "https://docker.1ms.run" ] } ``` 重启 Docker 生效: ```bash sudo systemctl daemon-reload sudo systemctl restart docker docker info | grep -A 3 "Registry Mirrors" ``` 注意:公共加速器时效性强 — 2024 年后大量公共镜像加速器关停或限流(如阿里云个人版、中科大),拉取失败请更换列表中的其他地址,或自建 Cloudflare Worker 反代 registry-1.docker.io。: ```text # 加速器失效时可直接使用带前缀的代理地址拉取 docker pull docker.m.daocloud.io/library/nginx:latest ``` --- ### TeX Live · CTAN(https://mirrorsproxy.download/ctan) CTAN 国内镜像,tlmgr 安装与更新宏包提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet(推荐) - 中科大: https://mirrors.ustc.edu.cn/CTAN/systems/texlive/tlnet - 阿里云: https://mirrors.aliyun.com/CTAN/systems/texlive/tlnet 换源命令: 切换 tlmgr 源: ```bash sudo tlmgr option repository https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet sudo tlmgr update --self --all ``` 安装时直接选镜像 — install-tl 交互界面中 Change → 选择镜像 URL,或命令行指定: ```bash sudo perl install-tl --repository https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet ``` MiKTeX(Windows) — MiKTeX Console → Settings → Directories / 包仓库改为镜像;或命令行指定远程仓库: ```bash miktex --admin --set-repository=https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/win32/miktex/tm/packages/ ``` --- ### Docker 多仓库镜像(https://mirrorsproxy.download/docker-registries) ghcr.io / gcr.io / quay.io / registry.k8s.io / mcr.microsoft.com 等非 Docker Hub 仓库的国内镜像(DaoCloud 多仓库),docker pull 提速。 可用镜像源: - DaoCloud · Docker Hub: https://docker.m.daocloud.io(多仓库全覆盖,推荐) - DaoCloud · ghcr: https://ghcr.m.daocloud.io - DaoCloud · gcr: https://gcr.m.daocloud.io - DaoCloud · k8s: https://k8s.m.daocloud.io(registry.k8s.io / k8s.gcr.io) - DaoCloud · quay: https://quay.m.daocloud.io - DaoCloud · mcr: https://mcr.m.daocloud.io(mcr.microsoft.com) - 1MS · Docker Hub: https://docker.1ms.run(仅 Docker Hub) 换源命令: 直接拉取(替换 registry 前缀) — 把原 registry host 换成镜像 host,路径与 tag 不变;首页工具粘贴镜像引用可自动生成: ```bash docker pull ghcr.m.daocloud.io//: docker pull k8s.m.daocloud.io/pause:3.9 docker pull quay.m.daocloud.io/prometheus/node-exporter:v1.7.0 ``` 拉取后重新打 tag(供 compose / k8s 使用): ```bash docker pull ghcr.m.daocloud.io/owner/app:1.0 docker tag ghcr.m.daocloud.io/owner/app:1.0 ghcr.io/owner/app:1.0 ``` containerd / k8s 节点配置 mirror — containerd 在 /etc/containerd/certs.d//hosts.toml 配置 mirror;kubelet 拉取 pause 等系统镜像同理: ```toml # /etc/containerd/certs.d/registry.k8s.io/hosts.toml server = "https://registry.k8s.io" [host."https://k8s.m.daocloud.io"] capabilities = ["pull", "resolve"] ``` 注意 — 公共加速器时效性强、可能限流;私有镜像需鉴权,不要经第三方镜像传 token;稳定生产建议自建 registry 缓存(registry:2 proxy 模式): ```text # 自建缓存:docker run -d -p 5000:5000 -e REGISTRY_PROXY_REMOTEURL=https://registry-1.docker.io registry:2 ``` --- ### jsDelivr(https://mirrorsproxy.download/jsdelivr-cdn) 免费公共开源 CDN,聚合 Cloudflare / Fastly / Gcore 多网络,直链引用 GitHub、npm、WordPress 文件,含备用线路与 data API。 可用镜像源: - 主线路: https://cdn.jsdelivr.net(Cloudflare 网络) - Fastly 备用: https://fastly.jsdelivr.net(国内可换用) - Gcore 备用: https://gcore.jsdelivr.net(国内可换用) - data API: https://data.jsdelivr.com(版本/文件查询,免费无鉴权) - 缓存刷新: https://purge.jsdelivr.net(或网页 tools/purge) 换源命令: GitHub 文件 — @version 可为分支 / tag / commit,不支持 @latest;锁定 tag 最稳: ```text https://cdn.jsdelivr.net/gh//@/ # 例:https://cdn.jsdelivr.net/gh/jquery/jquery@3.7.1/dist/jquery.min.js ``` npm 包文件 — 必须具体版本号;省略版本时 302 到最新版;未写文件按 package.json 的 browser/main 解析: ```text https://cdn.jsdelivr.net/npm/@/ # 例:https://cdn.jsdelivr.net/npm/vue@3.4.21/dist/vue.global.prod.js ``` WordPress 插件 / 主题: ```text https://cdn.jsdelivr.net/wp/plugins//tags// https://cdn.jsdelivr.net/wp/themes/// ``` 合并多文件(combine) — 仅 npm 与 GitHub,逗号分隔,顺序即合并顺序: ```text https://cdn.jsdelivr.net/combine/npm/vue@3.4.21/dist/vue.global.prod.js,npm/dayjs@1.11.10/dayjs.min.js ``` npm 包转 ESM 模块 — 浏览器 / Deno 直接 import,自动把 CommonJS 转 ES Module: ```js import dayjs from 'https://cdn.jsdelivr.net/npm/dayjs@1.11.10/+esm'; ``` 限制 — 单文件 ≤ 20 MB(超限 403);只用于公开仓库/包;分支与最新版缓存约 12 小时: ```text # 大文件请改用 GitHub Release 加速(首页工具) ``` --- ### unpkg(https://mirrorsproxy.download/unpkg) npm 官方生态的公共 CDN,直链引用 npm 包文件,支持目录浏览与 ?meta 元数据查询,国外节点。 可用镜像源: - unpkg 主站: https://unpkg.com(Cloudflare 网络,国外) - 官方 npm registry: https://registry.npmjs.org(元数据来源) 换源命令: 引用包文件 — 省略版本时重定向到最新版;省略文件按 package.json 的 unpkg/main 字段解析: ```text https://unpkg.com/@/ # 例:https://unpkg.com/react@18.2.0/umd/react.production.min.js ``` 浏览包内全部文件 — 末尾加 / 进入目录列表;?meta 返回 JSON 文件清单: ```text https://unpkg.com/lodash@4.17.21/ https://unpkg.com/lodash@4.17.21/?meta ``` 与 jsDelivr 的选择 — unpkg 无国内备用线路、无 combine;国内访问不稳时优先 jsDelivr 或 npmmirror: ```text # 国内推荐:https://registry.npmmirror.com//latest/files/ ``` --- ### Statically(https://mirrorsproxy.download/statically) 公益 CDN,直链引用 GitHub / GitLab / Bitbucket / WordPress 文件,支持分支引用与图片自动优化。 可用镜像源: - Statically: https://cdn.statically.io(公益免费) - 图片优化端点: https://cdn.statically.io/img(自动压缩/转 WebP) 换源命令: GitHub 文件 — ref 可为分支 / tag / commit,支持分支引用: ```text https://cdn.statically.io/gh//// # 例:https://cdn.statically.io/gh/jquery/jquery/main/dist/jquery.min.js ``` GitLab / Bitbucket: ```text https://cdn.statically.io/gl//// https://cdn.statically.io/bb//// ``` 图片自动优化 — 加 f=auto 自动选 WebP/AVIF,q 控制质量,w/h 缩放: ```text https://cdn.statically.io/img//f=auto,q=80,w=600/.jpg ``` --- ### GitHack(https://mirrorsproxy.download/githack) 公益缓存节点,把 raw.githubusercontent.com 文件以正确 Content-Type 直出,适合浏览器直接打开脚本/样式。 可用镜像源: - GitHack: https://raw.githack.com(公益免费) - 官方 raw(对照): https://raw.githubusercontent.com(原始地址,Content-Type 为 text/plain) 换源命令: 引用 GitHub raw 文件 — 把 raw.githubusercontent.com 换成 raw.githack.com,路径不变;会以正确 MIME 类型返回: ```text https://raw.githack.com//// # 例:https://raw.githack.com/user/repo/main/style.css ``` 适用场景 — 浏览器直接 / ``` 字节 CDN: ```html ``` npm 包直链(饿了么 / 知乎 / 百度) — 路径同 unpkg:/<包>@<版本>/<文件>: ```html ``` 注意 — 公益 CDN 同步延迟与可用性各异,生产环境建议锁定版本并准备备用域名;npm 包也可用 jsDelivr(见 jsDelivr 页): ```text # 备用:https://cdn.jsdelivr.net/npm/vue@3.4.21/dist/vue.global.prod.js ``` --- ### ESM 模块 CDN(https://mirrorsproxy.download/esm-cdn) 浏览器原生 ES Module 直接 import npm 包:esm.sh / Skypack / jspm / jsDelivr +esm,无需打包器。 可用镜像源: - esm.sh: https://esm.sh(自动转 ESM + 类型) - jsDelivr +esm: https://cdn.jsdelivr.net/npm/@/+esm(国内可换 fastly/gcore) - Skypack: https://cdn.skypack.dev(已停止维护,备用) - jspm: https://jspm.io(generator.jspm.io) 换源命令: 浏览器直接 import: ```js import confetti from 'https://esm.sh/canvas-confetti@1.9.3'; import dayjs from 'https://cdn.jsdelivr.net/npm/dayjs@1.11.10/+esm'; ``` import map 统一映射: ```html ``` Deno / Bun — Deno 原生支持 URL import;国内可配代理或换 jsDelivr +esm: ```js import { serve } from 'https://esm.sh/std@0.224.0/http/server.ts'; ``` --- ### Hugging Face(https://mirrorsproxy.download/huggingface) Hugging Face 模型与数据集国内镜像 hf-mirror.com,HF_ENDPOINT 环境变量 + hf / hfd 下载命令,解决模型下载慢。 可用镜像源: - hf-mirror(公益): https://hf-mirror.com(推荐,模型/数据集全量镜像) - 官方: https://huggingface.co(还原 / 申请 gated 权限时使用) - ModelScope(替代平台): https://modelscope.cn(国内模型社区,非镜像) 换源命令: 设置 endpoint 环境变量 — 写入 ~/.zshrc / ~/.bashrc;PowerShell 用 $env:HF_ENDPOINT = "https://hf-mirror.com": ```bash export HF_ENDPOINT=https://hf-mirror.com ``` 安装 / 升级 CLI 并下载模型 — 新版命令为 hf(旧版 huggingface-cli 仍可用): ```bash python -m pip install -U huggingface_hub hf download openai-community/gpt2 --local-dir gpt2 ``` 下载数据集: ```bash hf download --repo-type dataset / --local-dir ./data ``` hfd 脚本(aria2 多线程断点续传) — 从 hf-mirror.com 获取 hfd.sh;大模型推荐: ```bash export HF_ENDPOINT=https://hf-mirror.com ./hfd.sh / # 数据集加 --dataset ``` 常见问题 — xet-read-token 404 时禁用 xet;gated 模型需先在官网申请权限并带 --token: ```bash export HF_HUB_DISABLE_XET=1 hf download / --token hf_xxx --local-dir ./model ``` --- ### Google 系服务镜像(https://mirrorsproxy.download/google-mirrors) Google Fonts / AJAX 库 / Gravatar 头像的国内镜像域名,前端引用与头像加载提速。 可用镜像源: - Fonts · loli: https://fonts.loli.net(替换 fonts.googleapis.com) - Fonts · 中科大: https://fonts.googleapis.cn(替换 fonts.googleapis.com) - Fonts 静态 · loli: https://gstatic.loli.net(替换 fonts.gstatic.com) - AJAX · loli: https://ajax.loli.net(替换 ajax.googleapis.com) - Gravatar · loli: https://gravatar.loli.net(替换 www.gravatar.com) - Gravatar · cravatar: https://cravatar.cn(国内头像服务) - reCAPTCHA 替代域: https://www.recaptcha.net(google.com/recaptcha 的国内可用替代域) 换源命令: Google Fonts 替换 — 把样式与字体两个域名一起换: ```html ``` Google AJAX 库替换: ```html ``` Gravatar 头像替换 — 代码里把头像域名替换为镜像;cravatar.cn 为国内独立服务: ```text https://gravatar.loli.net/avatar/?s=80&d=mp https://cravatar.cn/avatar/?s=80&d=mp ``` 注意 — 公益镜像域名可能变动或限流,失效时换列表内其他域名;生产环境建议自托管字体/头像: ```text # 字体可下载后自托管,彻底摆脱第三方依赖 ``` --- ### Ubuntu 系统镜像(https://mirrorsproxy.download/ubuntu-iso) Ubuntu Desktop / Server ISO 与 cloud-image(qcow2)国内镜像下载,releases.ubuntu.com 与 cloud-images.ubuntu.com 提速。 可用镜像源: - 阿里云: https://mirrors.aliyun.com/ubuntu-releases/(ISO 全版本) - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/(ISO) - 中科大: https://mirrors.ustc.edu.cn/ubuntu-releases/(ISO) - 清华 cloud-image: https://mirrors.tuna.tsinghua.edu.cn/ubuntu-cloud-images/(qcow2 / img) - 官方: https://releases.ubuntu.com/(还原 / 校验 SHA256 时使用) 换源命令: 下载 ISO — 把 releases.ubuntu.com 换成镜像路径,版本号与文件名不变;下载后务必核对官方 SHA256: ```bash wget https://mirrors.aliyun.com/ubuntu-releases/24.04/ubuntu-24.04.1-desktop-amd64.iso wget https://mirrors.aliyun.com/ubuntu-releases/24.04/ubuntu-24.04.1-live-server-amd64.iso ``` 下载云镜像(qcow2 / img): ```bash wget https://mirrors.tuna.tsinghua.edu.cn/ubuntu-cloud-images/noble/current/noble-server-cloudimg-amd64.img ``` 校验完整性 — 镜像站只提供文件,哈希以官方 SHA256SUMS 为准: ```bash wget https://releases.ubuntu.com/24.04/SHA256SUMS sha256sum -c SHA256SUMS --ignore-missing ``` --- ### Debian 系统镜像(https://mirrorsproxy.download/debian-iso) Debian netinst / DVD ISO 与 cloud-image 国内镜像下载,cdimage.debian.org 提速。 可用镜像源: - 阿里云: https://mirrors.aliyun.com/debian-cd/(ISO) - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/debian-cd/(ISO) - 中科大: https://mirrors.ustc.edu.cn/debian-cd/(ISO) - 清华 cloud-image: https://mirrors.tuna.tsinghua.edu.cn/debian-cdimage/cloud/(qcow2) - 官方: https://cdimage.debian.org/debian-cd/(还原 / 校验时使用) 换源命令: 下载 netinst / DVD ISO: ```bash wget https://mirrors.aliyun.com/debian-cd/current/amd64/iso-cd/debian-12.8.0-amd64-netinst.iso ``` 下载云镜像: ```bash wget https://mirrors.tuna.tsinghua.edu.cn/debian-cdimage/cloud/bookworm/latest/debian-12-generic-amd64.qcow2 ``` 校验: ```bash sha256sum debian-12.8.0-amd64-netinst.iso # 与官方 SHA256SUMS 对比 ``` --- ### Rocky / Alma / CentOS 镜像(https://mirrorsproxy.download/rocky-alma-iso) RHEL 系(Rocky Linux、AlmaLinux、CentOS Stream)ISO 与云镜像国内下载,替代已停更的 CentOS。 可用镜像源: - 阿里云 Rocky: https://mirrors.aliyun.com/rockylinux/(ISO + 云镜像) - 清华 Rocky: https://mirrors.tuna.tsinghua.edu.cn/rocky/(ISO) - 阿里云 Alma: https://mirrors.aliyun.com/almalinux/(ISO) - 清华 Alma: https://mirrors.tuna.tsinghua.edu.cn/almalinux/(ISO) - 清华 CentOS Stream: https://mirrors.tuna.tsinghua.edu.cn/centos-stream/(ISO) 换源命令: 下载 Rocky ISO: ```bash wget https://mirrors.aliyun.com/rockylinux/9/isos/x86_64/Rocky-9.4-x86_64-dvd.iso ``` 下载 Alma ISO: ```bash wget https://mirrors.aliyun.com/almalinux/9/isos/x86_64/AlmaLinux-9.4-x86_64-dvd.iso ``` 下载云镜像(qcow2): ```bash wget https://mirrors.aliyun.com/rockylinux/9/cloud/x86_64/images/Rocky-9-GenericCloud-Base.latest.x86_64.qcow2 ``` --- ### Arch Linux 镜像(https://mirrorsproxy.download/archlinux-iso) Arch Linux 安装 ISO 与 bootstrap 国内镜像下载,archlinux.org/download 提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/archlinux/iso/(推荐) - 中科大: https://mirrors.ustc.edu.cn/archlinux/iso/ - 阿里云: https://mirrors.aliyun.com/archlinux/iso/ - 官方: https://archlinux.org/download/(校验时使用) 换源命令: 下载最新 ISO — iso/latest/ 目录指向当前版本: ```bash wget https://mirrors.tuna.tsinghua.edu.cn/archlinux/iso/latest/archlinux-x86_64.iso ``` 校验签名: ```bash wget https://mirrors.tuna.tsinghua.edu.cn/archlinux/iso/latest/sha256sums.txt sha256sum -c sha256sums.txt --ignore-missing ``` --- ### Fedora 系统镜像(https://mirrorsproxy.download/fedora-iso) Fedora Workstation / Server / Cloud ISO 与 qcow2 国内镜像下载。 可用镜像源: - 阿里云: https://mirrors.aliyun.com/fedora/releases/(ISO + 云镜像) - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/fedora/releases/(ISO) - 中科大: https://mirrors.ustc.edu.cn/fedora/releases/ - 官方: https://fedoraproject.org/(校验时使用) 换源命令: 下载 Workstation / Server ISO: ```bash wget https://mirrors.aliyun.com/fedora/releases/40/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-40-1.14.iso ``` 下载 Cloud qcow2: ```bash wget https://mirrors.aliyun.com/fedora/releases/40/Cloud/x86_64/images/Fedora-Cloud-Base-40-1.14.x86_64.qcow2 ``` --- ### Windows 系统镜像(https://mirrorsproxy.download/windows-iso) Windows 10 / 11 官方 ISO 获取渠道:微软官方、ITellYou 聚合(官方哈希)、UUP dump 自建,避免第三方篡改镜像。 可用镜像源: - 微软官方: https://www.microsoft.com/software-download/windows11(最可信,直接下载) - ITellYou(聚合): https://next.itellyou.cn/(聚合官方 ed2k/magnet 与哈希) - UUP dump: https://uupdump.net/(从微软更新服务器自建 ISO) - 微软评估中心: https://www.microsoft.com/evalcenter(企业版 / Server 评估) 换源命令: 优先官方渠道 — 微软官网直接下载 ISO 或媒体创建工具;国内速度尚可,无需第三方: ```text https://www.microsoft.com/software-download/windows11 ``` ITellYou 取官方哈希链接 — 站点聚合官方原版 ed2k / BT 链接与 SHA1/SHA256,用迅雷 / qBittorrent 下载后核对哈希: ```text # 下载后务必校验 SHA256 与站点公布一致,防篡改 ``` UUP dump 自建最新 ISO — 选择版本与语言后下载脚本,本地从微软更新服务器拉取并打包 ISO: ```bash # 解压后运行(Windows): uup_download_windows.cmd ``` 安全提醒 — 不要使用来路不明的「精简版 / 破解版」ISO;只信官方或可校验哈希的原版: ```text Get-FileHash .\win11.iso -Algorithm SHA256 ``` --- ### Raspberry Pi OS(https://mirrorsproxy.download/raspberry-pi) 树莓派 Raspberry Pi OS 镜像与 Raspbian apt 源国内下载加速。 可用镜像源: - 清华 TUNA 镜像: https://mirrors.tuna.tsinghua.edu.cn/raspberry-pi-os-images/(官方 img 镜像) - 中科大镜像: https://mirrors.ustc.edu.cn/raspberry-pi-os-images/ - 清华 Raspbian apt: https://mirrors.tuna.tsinghua.edu.cn/raspbian/(系统包源) - 官方: https://www.raspberrypi.com/software/operating-systems/(校验时使用) 换源命令: 下载系统 img: ```bash wget https://mirrors.tuna.tsinghua.edu.cn/raspberry-pi-os-images/raspios_arm64/images/raspios_arm64-2024-07-04/2024-07-04-raspios-bookworm-arm64.img.xz ``` Raspbian apt 换源 — 编辑 /etc/apt/sources.list 与 /etc/apt/sources.list.d/raspi.list: ```bash sudo sed -i "s|raspbian.raspberrypi.org|mirrors.tuna.tsinghua.edu.cn/raspbian|g" /etc/apt/sources.list sudo apt update ``` --- ### Node.js 安装包(https://mirrorsproxy.download/nodejs) Node.js 官方二进制(nodejs.org/dist)国内镜像,nvm / fnm / n / 手动安装提速。 可用镜像源: - npmmirror: https://registry.npmmirror.com/-/binary/node/(推荐,全版本) - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/(nodejs-release) - 中科大: https://mirrors.ustc.edu.cn/node/(node) - 官方: https://nodejs.org/dist/(还原 / 校验时使用) 换源命令: 手动下载二进制: ```bash wget https://registry.npmmirror.com/-/binary/node/v20.15.0/node-v20.15.0-linux-x64.tar.xz ``` nvm 加速 — 写入 ~/.zshrc / ~/.bashrc: ```bash export NVM_NODEJS_ORG_MIRROR=https://registry.npmmirror.com/-/binary/node/ nvm install 20 ``` fnm / n 加速: ```bash export FNM_NODE_DIST_MIRROR=https://registry.npmmirror.com/-/binary/node/ export N_NODE_MIRROR=https://registry.npmmirror.com/-/binary/node/ ``` --- ### Go 工具链下载(https://mirrorsproxy.download/golang-dl) Go 语言安装包(go.dev/dl)国内镜像,手动安装与 g / goenv 等版本管理器提速;模块代理见 Go Modules 页。 可用镜像源: - Google 中国: https://golang.google.cn/dl/(官方中国节点) - studygolang: https://studygolang.com/dl(社区镜像) - 阿里云: https://mirrors.aliyun.com/golang/(全版本 tar.gz) - 中科大: https://mirrors.ustc.edu.cn/golang/(全版本) - 官方: https://go.dev/dl/(还原时使用) 换源命令: 手动下载安装包: ```bash wget https://mirrors.aliyun.com/golang/go1.22.5.linux-amd64.tar.gz sudo tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gz ``` g / goenv 版本管理器加速: ```bash export G_GO_BASE_URL=https://mirrors.aliyun.com/golang/ export GOENV_GO_DOWNLOAD_URL=https://mirrors.aliyun.com/golang/ ``` 模块代理(另见 Go Modules 页): ```bash go env -w GOPROXY=https://goproxy.cn,direct ``` --- ### JDK 下载(https://mirrorsproxy.download/jdk) OpenJDK / Adoptium Temurin / Liberica 等 JDK 国内镜像下载,sdkman / jabba 提速。 可用镜像源: - 清华 Adoptium: https://mirrors.tuna.tsinghua.edu.cn/Adoptium/(Temurin 全版本) - 华为 OpenJDK: https://repo.huaweicloud.com/openjdk/(Oracle OpenJDK 归档) - 华为 Java JDK: https://repo.huaweicloud.com/java/jdk/(旧版 Oracle JDK) - BellSoft Liberica: https://bell-sw.com/pages/downloads/(含国内 CDN) - 官方 Adoptium: https://adoptium.net/(还原时使用) 换源命令: 下载 Temurin: ```bash wget https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jdk/x64/linux/OpenJDK17U-jdk_x64_linux_hotspot_17.0.11_9.tar.gz ``` sdkman 加速 — sdkman 默认走官方 API;可改用本地已下载 JDK:sdk install java /path/to/jdk: ```bash sdk install java 17.0.11-tem /path/to/extracted/jdk ``` Maven / Gradle 依赖另见 Maven 页: ```text # 构建依赖换源:/maven ``` --- ### Git 安装包(https://mirrorsproxy.download/git) Git for Windows / macOS 安装包国内镜像下载,git-scm.com 与 GitHub release 提速。 可用镜像源: - npmmirror: https://registry.npmmirror.com/-/binary/git-for-windows/(推荐,全版本) - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/github-release/git-for-windows/git/(GitHub release 镜像) - 官方: https://git-scm.com/downloads(还原时使用) 换源命令: 下载 Git for Windows: ```bash wget https://registry.npmmirror.com/-/binary/git-for-windows/v2.45.2.windows.1/Git-2.45.2-64-bit.exe ``` macOS / Linux — macOS 用 brew(见 Homebrew 页);Linux 用发行版包管理(apt/dnf/pacman 页): ```text brew install git sudo apt install git ``` --- ### Kubernetes 二进制(https://mirrorsproxy.download/kubernetes) kubeadm / kubelet / kubectl 与 k8s release 国内镜像下载,dl.k8s.io 与 apt/yum k8s 源提速。 可用镜像源: - 阿里云 kubernetes: https://mirrors.aliyun.com/kubernetes/(apt/yum 源 + 二进制) - 清华 kubernetes: https://mirrors.tuna.tsinghua.edu.cn/kubernetes/(apt/yum 源) - 阿里云 k8s release: https://mirrors.aliyun.com/kubernetes-release/release/(二进制 tar) - 官方: https://dl.k8s.io/(还原时使用) 换源命令: 下载二进制: ```bash wget https://mirrors.aliyun.com/kubernetes-release/release/v1.30.2/kubernetes-server-linux-amd64.tar.gz ``` apt 源(Debian/Ubuntu): ```bash curl -fsSL https://mirrors.aliyun.com/kubernetes/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes.gpg echo "deb [signed-by=/etc/apt/keyrings/kubernetes.gpg] https://mirrors.aliyun.com/kubernetes/apt/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list sudo apt update && sudo apt install -y kubelet kubeadm kubectl ``` yum 源(RHEL 系): ```ini [kubernetes] name=Kubernetes baseurl=https://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64/ enabled=1 gpgcheck=0 ``` 系统镜像(pause 等)另见 Docker 多仓库页: ```text # /docker-registries ``` --- ### ChromeDriver / 浏览器二进制(https://mirrorsproxy.download/chromedriver) ChromeDriver、Chrome for Testing、Playwright / Puppeteer 浏览器二进制国内镜像,Selenium / 自动化测试提速。 可用镜像源: - npmmirror chromedriver: https://registry.npmmirror.com/-/binary/chromedriver/(推荐) - 华为 chromedriver: https://repo.huaweicloud.com/chromedriver/(全版本) - npmmirror chrome-for-testing: https://registry.npmmirror.com/-/binary/chrome-for-testing/(新版 Chrome + driver) - npmmirror playwright: https://registry.npmmirror.com/-/binary/playwright/(Playwright 浏览器) - 官方: https://googlechromelabs.github.io/chrome-for-testing/(还原时使用) 换源命令: 下载 ChromeDriver: ```bash wget https://registry.npmmirror.com/-/binary/chromedriver/126.0.6478.126/chromedriver_linux64.zip ``` Puppeteer 跳过自带下载 / 指定镜像: ```bash export PUPPETEER_DOWNLOAD_BASE_URL=https://registry.npmmirror.com/-/binary/chrome-for-testing/ # 或完全跳过:export PUPPETEER_SKIP_DOWNLOAD=true ``` Playwright 浏览器镜像: ```bash export PLAYWRIGHT_DOWNLOAD_HOST=https://registry.npmmirror.com/-/binary/playwright/ npx playwright install chromium ``` --- ### Electron 二进制(https://mirrorsproxy.download/electron) Electron 预编译二进制与 electron-builder 依赖国内镜像,npm install electron 提速。 可用镜像源: - npmmirror electron: https://registry.npmmirror.com/-/binary/electron/(推荐) - npmmirror electron-builder-binaries: https://registry.npmmirror.com/-/binary/electron-builder-binaries/(打包依赖) - 官方: https://github.com/electron/electron/releases(还原时使用) 换源命令: 环境变量(推荐) — 写入 ~/.zshrc / ~/.bashrc 或项目 .npmrc: ```bash export ELECTRON_MIRROR=https://registry.npmmirror.com/-/binary/electron/ export ELECTRON_BUILDER_BINARIES_MIRROR=https://registry.npmmirror.com/-/binary/electron-builder-binaries/ ``` .npmrc 方式: ```ini electron_mirror=https://registry.npmmirror.com/-/binary/electron/ electron_builder_binaries_mirror=https://registry.npmmirror.com/-/binary/electron-builder-binaries/ ``` 安装: ```bash npm install electron --save-dev ``` --- ### Perl · CPAN(https://mirrorsproxy.download/perl-cpan) Perl CPAN 模块国内镜像,cpan / cpanm 换源提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/CPAN/ - 中科大: https://mirrors.ustc.edu.cn/CPAN/ - 北外: https://mirrors.bfsu.edu.cn/CPAN/ - 官方: https://www.cpan.org/(还原时使用) 换源命令: cpanm 使用镜像: ```bash cpanm --mirror https://mirrors.tuna.tsinghua.edu.cn/CPAN/ --mirror-only ``` cpan 交互配置: ```bash cpan # cpan[1]> o conf urllist https://mirrors.tuna.tsinghua.edu.cn/CPAN/ # cpan[2]> o conf commit ``` --- ### Haskell · Hackage / Stack(https://mirrorsproxy.download/haskell) Haskell Hackage / Stackage / GHCup 国内镜像,cabal / stack 换源提速。 可用镜像源: - 清华 Hackage: https://mirrors.tuna.tsinghua.edu.cn/hackage/ - 清华 Stackage: https://mirrors.tuna.tsinghua.edu.cn/stackage/ - 中科大 GHCup: https://mirrors.ustc.edu.cn/ghcup/ - 官方: https://hackage.haskell.org/(还原时使用) 换源命令: cabal:~/.cabal/config: ```text repository hackage.haskell.org url: https://mirrors.tuna.tsinghua.edu.cn/hackage/ ``` GHCup 环境变量: ```bash export GHCUP_MIRROR=https://mirrors.ustc.edu.cn/ghcup/ ``` --- ### Clojure · Clojars(https://mirrorsproxy.download/clojure) Clojure Clojars 仓库国内镜像,Leiningen / deps.edn 换源提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/clojars/ - 官方: https://clojars.org/(还原时使用) 换源命令: Leiningen:~/.lein/profiles.clj: ```clojure {:repositories {"clojars" {:url "https://mirrors.tuna.tsinghua.edu.cn/clojars/"}}} ``` deps.edn :mvn/repos: ```clojure {:mvn/repos {"clojars" {:url "https://mirrors.tuna.tsinghua.edu.cn/clojars/"}}} ``` --- ### R · Bioconductor(https://mirrorsproxy.download/bioconductor) Bioconductor(R 生物信息包)国内镜像,BiocManager 换源提速;CRAN 见 R 页。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/bioconductor/ - 官方: https://bioconductor.org/(还原时使用) 换源命令: 设置 BioC_mirror 后安装: ```r options(BioC_mirror = "https://mirrors.tuna.tsinghua.edu.cn/bioconductor") BiocManager::install("") ``` --- ### Emacs · ELPA / MELPA(https://mirrorsproxy.download/emacs-elpa) Emacs ELPA / MELPA / NonGNU 包档案国内镜像,package.el 换源提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/elpa/ - 中科大: https://mirrors.ustc.edu.cn/elpa/ - 官方: https://elpa.gnu.org/(还原时使用) 换源命令: init.el 设置 package-archives: ```lisp (setq package-archives '(("gnu" . "https://mirrors.tuna.tsinghua.edu.cn/elpa/gnu/") ("nongnu" . "https://mirrors.tuna.tsinghua.edu.cn/elpa/nongnu/") ("melpa" . "https://mirrors.tuna.tsinghua.edu.cn/elpa/melpa/"))) ``` --- ### Nix / NixOS(https://mirrorsproxy.download/nix) Nix 二进制缓存(substituters)与 nix-channels / nixpkgs 国内镜像,nix build / nixos-rebuild 提速。 可用镜像源: - 清华 nix-channels: https://mirrors.tuna.tsinghua.edu.cn/nix-channels/ - 清华 store 缓存: https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store - 官方: https://cache.nixos.org/(还原时使用) 换源命令: nix.conf substituters: ```ini substituters = https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store https://cache.nixos.org/ ``` channel 换源: ```bash nix-channel --add https://mirrors.tuna.tsinghua.edu.cn/nix-channels/nixpkgs-unstable nixpkgs nix-channel --update ``` --- ### Flathub / Flatpak(https://mirrorsproxy.download/flathub) Flathub(Flatpak 应用仓库)国内镜像,flatpak install 提速。 可用镜像源: - 中科大: https://mirrors.ustc.edu.cn/flathub/ - 官方: https://flathub.org/(还原时使用) 换源命令: 修改 flathub remote: ```bash sudo flatpak remote-modify --url=https://mirrors.ustc.edu.cn/flathub/ flathub ``` --- ### Windows · winget(https://mirrorsproxy.download/winget) Windows winget 包管理器源国内镜像,winget install / search 提速。 可用镜像源: - 中科大 winget-source: https://mirrors.ustc.edu.cn/winget-source/ - 官方: https://cdn.winget.microsoft.com/cache(还原时使用) 换源命令: 替换 winget 源: ```bash winget source remove winget winget source add --name winget --arg https://mirrors.ustc.edu.cn/winget-source/ --type Microsoft.PreIndexed.Package ``` --- ### openSUSE · zypper(https://mirrorsproxy.download/opensuse) openSUSE Leap / Tumbleweed zypper 源国内镜像,zypper install / dup 提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/opensuse/ - 中科大: https://mirrors.ustc.edu.cn/opensuse/ - 官方: https://download.opensuse.org/(还原时使用) 换源命令: 替换 repo 域名: ```bash sudo sed -i "s|download.opensuse.org|mirrors.tuna.tsinghua.edu.cn/opensuse|g" /etc/zypp/repos.d/*.repo sudo zypper refresh ``` --- ### Gentoo · Portage(https://mirrorsproxy.download/gentoo) Gentoo Portage tree / distfiles 国内镜像,emerge 同步与下载提速。 可用镜像源: - 清华 portage: https://mirrors.tuna.tsinghua.edu.cn/gentoo-portage/ - 清华 distfiles: https://mirrors.tuna.tsinghua.edu.cn/gentoo/distfiles/ - 官方: https://distfiles.gentoo.org/(还原时使用) 换源命令: /etc/portage/repos.conf/gentoo.conf: ```ini [gentoo] location = /var/db/repos/gentoo sync-type = rsync sync-uri = rsync://mirrors.tuna.tsinghua.edu.cn/gentoo-portage ``` distfiles(make.conf): ```ini GENTOO_MIRRORS="https://mirrors.tuna.tsinghua.edu.cn/gentoo/distfiles/" ``` --- ### Alpine · apk(https://mirrorsproxy.download/alpine) Alpine Linux apk 源国内镜像,apk add / update 提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/alpine/ - 中科大: https://mirrors.ustc.edu.cn/alpine/ - 官方: https://dl-cdn.alpinelinux.org/alpine/(还原时使用) 换源命令: 替换 /etc/apk/repositories: ```bash sudo sed -i "s|dl-cdn.alpinelinux.org|mirrors.tuna.tsinghua.edu.cn|g" /etc/apk/repositories sudo apk update ``` --- ### Void Linux · xbps(https://mirrorsproxy.download/voidlinux) Void Linux xbps 源国内镜像,xbps-install 提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/voidlinux/ - 北外: https://mirrors.bfsu.edu.cn/voidlinux/ - 官方: https://repo-default.voidlinux.org/(还原时使用) 换源命令: /etc/xbps.d/00-repository-main.conf: ```ini repository=https://mirrors.tuna.tsinghua.edu.cn/voidlinux/current ``` --- ### Solus · eopkg(https://mirrorsproxy.download/solus) Solus eopkg 源国内镜像,eopkg install 提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/solus/ - 官方: https://packages.solus-project.com/(还原时使用) 换源命令: 替换 repo: ```bash sudo eopkg dr Solus sudo eopkg ar Solus https://mirrors.tuna.tsinghua.edu.cn/solus/packages/ ``` --- ### FreeBSD · pkg / ports(https://mirrorsproxy.download/freebsd) FreeBSD pkg 二进制与 ports 国内镜像。注意多数镜像 ports 不完整,FreeBSD.cn 的 ports 较全。 可用镜像源: - 中科大 freebsd-pkg: https://mirrors.ustc.edu.cn/freebsd-pkg/ - FreeBSD.cn(ports 较全): http://pkg.freebsd.cn/(README 推荐) - 官方: https://pkg.freebsd.org/(还原时使用) 换源命令: /usr/local/etc/pkg/repos/FreeBSD.conf: ```text FreeBSD: { url: "pkg+https://mirrors.ustc.edu.cn/freebsd-pkg/${ABI}/quarterly" } ``` --- ### OpenBSD(https://mirrorsproxy.download/openbsd) OpenBSD 安装 sets 与 pkg_add 国内镜像(/etc/installurl)。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/OpenBSD/ - 官方: https://cdn.openbsd.org/pub/OpenBSD/(还原时使用) 换源命令: 设置 /etc/installurl: ```bash echo "https://mirrors.tuna.tsinghua.edu.cn/OpenBSD/" | sudo tee /etc/installurl ``` --- ### NetBSD · pkgin(https://mirrorsproxy.download/netbsd) NetBSD 二进制包(pkgin / pkg_add)国内镜像。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/NetBSD/ - 北外: https://mirrors.bfsu.edu.cn/NetBSD/ - 官方: https://cdn.netbsd.org/pub/pkgsrc/(还原时使用) 换源命令: pkgin repositories.conf: ```bash echo "https://mirrors.tuna.tsinghua.edu.cn/NetBSD/packages/$(uname -r)/$(uname -m)/All" | sudo tee /usr/pkg/etc/pkgin/repositories.conf ``` --- ### MSYS2(https://mirrorsproxy.download/msys2) MSYS2(Windows 类 Unix 环境)pacman 源国内镜像,pacman -Syu 提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/msys2/ - 中科大: https://mirrors.ustc.edu.cn/msys2/ - 官方: https://repo.msys2.org/(还原时使用) 换源命令: 替换 mirrorlist: ```bash sed -i "s|https://repo.msys2.org|https://mirrors.tuna.tsinghua.edu.cn/msys2|g" /etc/pacman.d/mirrorlist.* pacman -Syu ``` --- ### Termux(https://mirrorsproxy.download/termux) Termux(Android 终端)apt 源国内镜像,pkg / apt install 提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/termux/ - 中科大: https://mirrors.ustc.edu.cn/termux/ - 官方: https://packages.termux.dev/(还原时使用) 换源命令: 交互换源(推荐): ```bash termux-change-repo ``` 或手动替换 sources.list: ```bash sed -i "s|https://packages.termux.dev/apt/termux-main|https://mirrors.tuna.tsinghua.edu.cn/termux/apt/termux-main|g" $PREFIX/etc/apt/sources.list apt update ``` --- ### OpenWrt · opkg(https://mirrorsproxy.download/openwrt) OpenWrt opkg 源国内镜像,opkg update / install 提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/openwrt/ - 中科大: https://mirrors.ustc.edu.cn/openwrt/ - 官方: https://downloads.openwrt.org/(还原时使用) 换源命令: 替换 distfeeds.conf: ```bash sed -i "s|downloads.openwrt.org|mirrors.tuna.tsinghua.edu.cn/openwrt|g" /etc/opkg/distfeeds.conf opkg update ``` --- ### Armbian(https://mirrorsproxy.download/armbian) Armbian(ARM 开发板 Debian/Ubuntu)apt 源国内镜像。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/armbian/ - 中科大: https://mirrors.ustc.edu.cn/armbian/ - 官方: https://apt.armbian.com/(还原时使用) 换源命令: 替换 armbian.list: ```bash sudo sed -i "s|apt.armbian.com|mirrors.tuna.tsinghua.edu.cn/armbian|g" /etc/apt/sources.list.d/armbian.list sudo apt update ``` --- ### openEuler(https://mirrorsproxy.download/openeuler) openEuler(华为开源欧拉)yum/dnf 源国内镜像。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/openeuler/ - 中科大: https://mirrors.ustc.edu.cn/openeuler/ - 官方: https://repo.openeuler.org/(还原时使用) 换源命令: 替换 repo 域名: ```bash sudo sed -i "s|repo.openeuler.org|mirrors.tuna.tsinghua.edu.cn/openeuler|g" /etc/yum.repos.d/openEuler.repo sudo dnf makecache ``` --- ### ROS / ROS 2(https://mirrorsproxy.download/ros) ROS / ROS 2 apt 仓库国内镜像,rosdep / apt install 提速。 可用镜像源: - 清华 ros: https://mirrors.tuna.tsinghua.edu.cn/ros/ - 清华 ros2: https://mirrors.tuna.tsinghua.edu.cn/ros2/ - 中科大: https://mirrors.ustc.edu.cn/ros/ - 官方: https://packages.ros.org/(还原时使用) 换源命令: 替换 ros-latest.list: ```bash sudo sed -i "s|packages.ros.org/ros/ubuntu|mirrors.tuna.tsinghua.edu.cn/ros/ubuntu|g" /etc/apt/sources.list.d/ros-latest.list sudo apt update ``` --- ### Gradle 发行版(https://mirrorsproxy.download/gradle) Gradle wrapper 发行版 zip 国内镜像,gradle build 首次下载提速;依赖仓库见 Maven 页。 可用镜像源: - 腾讯云: https://mirrors.cloud.tencent.com/gradle/ - 华为云: https://repo.huaweicloud.com/gradle/ - 官方: https://services.gradle.org/distributions/(还原时使用) 换源命令: gradle-wrapper.properties: ```ini distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-8.8-bin.zip ``` --- ### Bun(https://mirrorsproxy.download/bun) Bun 运行时 registry 与二进制国内镜像,bun install 提速。 可用镜像源: - npmmirror registry: https://registry.npmmirror.com - npmmirror bun 二进制: https://registry.npmmirror.com/-/binary/bun/ - 官方: https://registry.npmjs.org(还原时使用) 换源命令: bunfig.toml: ```ini [install] registry = "https://registry.npmmirror.com" ``` --- ### Kali Linux(https://mirrorsproxy.download/kali) Kali Linux apt 源国内镜像,apt update / install 提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/kali/ - 中科大: https://mirrors.ustc.edu.cn/kali/ - 官方: https://http.kali.org/kali(还原时使用) 换源命令: /etc/apt/sources.list: ```bash deb https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free non-free-firmware ``` --- ### Deepin 深度(https://mirrorsproxy.download/deepin) Deepin(深度)apt 源国内镜像,apt update / install 提速。 可用镜像源: - 清华 TUNA: https://mirrors.tuna.tsinghua.edu.cn/deepin/ - 中科大: https://mirrors.ustc.edu.cn/deepin/ - 官方: https://community-packages.deepin.com/deepin/(还原时使用) 换源命令: /etc/apt/sources.list(代号按需替换): ```bash deb https://mirrors.tuna.tsinghua.edu.cn/deepin beige main contrib non-free ``` --- ### Linux Mint(https://mirrorsproxy.download/linuxmint) Linux Mint apt 源国内镜像(Mint 仓库 + Ubuntu 基础源)。 可用镜像源: - 清华 mint 仓库: https://mirrors.tuna.tsinghua.edu.cn/linuxmint/ - 清华 ubuntu 基础: https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ - 官方: https://packages.linuxmint.com/(还原时使用) 换源命令: 替换 official-package-repositories.list: ```bash sudo sed -i "s|packages.linuxmint.com|mirrors.tuna.tsinghua.edu.cn/linuxmint|g" /etc/apt/sources.list.d/official-package-repositories.list sudo apt update ``` --- ### Anolis 龙蜥(https://mirrorsproxy.download/anolis) Anolis OS(龙蜥)yum/dnf 源国内镜像。 可用镜像源: - 阿里云: https://mirrors.aliyun.com/anolis/ - 官方: https://mirrors.openanolis.cn/anolis/(还原时使用) 换源命令: 替换 repo 域名: ```bash sudo sed -i "s|mirrors.openanolis.cn|mirrors.aliyun.com|g" /etc/yum.repos.d/*.repo sudo dnf makecache ``` --- ### Lua · LuaRocks(https://mirrorsproxy.download/lua-luarocks) Lua LuaRocks 包管理换源说明。国内稳定镜像较少,优先官方或经 chsrc 切换。 可用镜像源: - 官方: https://luarocks.org/(国内稳定镜像较少) 换源命令: 指定 server 安装: ```bash luarocks --server=https://luarocks.org/ install ``` 用 chsrc 一键切换: ```bash chsrc set lua ``` --- ### OCaml · opam(https://mirrorsproxy.download/ocaml-opam) OCaml opam 仓库换源说明。国内稳定镜像较少,优先官方或经 chsrc 切换。 可用镜像源: - 官方: https://opam.ocaml.org/(国内稳定镜像较少) 换源命令: 设置 default 仓库: ```bash opam repository set-url default https://opam.ocaml.org/ ``` 用 chsrc 一键切换: ```bash chsrc set ocaml ``` --- ### GNU Guix(https://mirrorsproxy.download/guix) GNU Guix substitute 与 channel 换源说明。国内稳定镜像较少,优先官方或经 chsrc 切换。 可用镜像源: - 官方 substitute: https://ci.guix.gnu.org/(国内稳定镜像较少) 换源命令: 指定 substitute urls: ```bash guix build --substitute-urls="https://ci.guix.gnu.org" ``` 用 chsrc 一键切换: ```bash chsrc set guix ``` --- ### 公共 DNS / DoH / DoT(https://mirrorsproxy.download/dns) 国内 + 全球知名公共 DNS(阿里 / 腾讯 / 114 / 百度 / CNNIC / OneDNS / 360 / 火山 / Cloudflare / Google / Quad9 / OpenDNS / AdGuard / NextDNS 等)与 DoH/DoT 加密解析地址,替换运营商 DNS 提升解析速度与抗污染。 可用镜像源: - 阿里 AliDNS: 223.5.5.5 / 223.6.6.6(DoH: https://dns.alidns.com/dns-query · DoT: dns.alidns.com) - 腾讯 DNSPod: 119.29.29.29(DoH: https://doh.pub/dns-query · DoT: dot.pub) - 114 DNS: 114.114.114.114 / 114.114.115.115(老牌公共 DNS) - 百度 DNS: 180.76.76.76(BaiduDNS) - CNNIC sDNS: 1.2.4.8 / 210.2.4.8(中国互联网络信息中心) - OneDNS(微步): 117.50.11.11 / 52.80.66.66(带威胁拦截) - 360 安全 DNS: 101.226.4.6 / 218.30.118.6(带安全拦截) - 火山 DNS: 180.184.1.1 / 180.184.2.2(字节火山引擎) - Cloudflare: 1.1.1.1 / 1.0.0.1(DoH: https://cloudflare-dns.com/dns-query · 全球 anycast) - Google: 8.8.8.8 / 8.8.4.4(DoH: https://dns.google/dns-query) - Quad9: 9.9.9.9 / 149.112.112.112(DoH: https://dns.quad9.net/dns-query · 恶意域名拦截) - OpenDNS: 208.67.222.222 / 208.67.220.220(DoH: https://doh.opendns.com/dns-query · Cisco) - AdGuard DNS: 94.140.14.14 / 94.140.15.15(DoH: https://dns.adguard-dns.com/dns-query · 广告/跟踪拦截) - NextDNS: 45.90.28.0 / 45.90.30.0(DoH: https://dns.nextdns.io · 可自定义过滤) - CleanBrowsing: 185.228.168.9 / 185.228.169.9(家庭 / 成人内容过滤) - ControlD: 76.76.2.0 / 76.76.10.0(可自定义过滤 / 分流) - DNS.WATCH: 84.200.69.80 / 84.200.70.40(德国 · 无日志 / 无审查) - Yandex DNS: 77.88.8.8 / 77.88.8.1(basic / safe / family 多模式) - dns.sb: 185.222.222.222 / 45.11.45.11(隐私友好) - Mullvad DNS: 194.242.2.2(隐私 / 无日志 · DoH/DoT) 换源命令: macOS 设置 DNS: ```bash networksetup -setdnsservers Wi-Fi 223.5.5.5 223.6.6.6 ``` Linux(systemd-resolved): ```bash sudo resolvectl dns eth0 223.5.5.5 223.6.6.6 sudo resolvectl domain eth0 "~." ``` Windows: ```bash netsh interface ip set dns "以太网" static 223.5.5.5 netsh interface ip add dns "以太网" 223.6.6.6 index=2 ``` 浏览器 DoH — Chrome/Edge/Firefox 设置 → 安全 DNS → 自定义填 DoH 地址: ```text https://dns.alidns.com/dns-query ``` --- ### NTP 时间同步(https://mirrorsproxy.download/ntp) 国内 + 全球知名 NTP 时间服务器(阿里 / 腾讯 / 国家授时中心 / cn.pool / Cloudflare / Google / Apple / NIST / NICT / PTB 等),替换默认 pool 提升同步速度与精度。 可用镜像源: - 阿里云 NTP: ntp.aliyun.com(ntp1~7.aliyun.com · 公网多线) - 腾讯云 NTP: ntp.tencent.com(ntp1~5.tencent.com · 公网多线) - 国家授时中心: ntp.ntsc.ac.cn(中科院国家授时中心) - cn.pool.ntp.org: cn.pool.ntp.org(0~3.cn.pool.ntp.org · pool 中国分区) - Cloudflare: time.cloudflare.com(全球 anycast · NTS 支持) - Google: time.google.com(time1~4.google.com · 全球) - Apple: time.apple.com(time1~7.apple.com · macOS/iOS 默认) - Microsoft: time.windows.com(Windows 默认) - pool.ntp.org: pool.ntp.org(0~3.pool.ntp.org · 全球志愿者池) - Ubuntu: ntp.ubuntu.com(Ubuntu 默认) - NIST(美国): time.nist.gov(美国标准技术研究院) - NICT(日本): ntp.nict.jp(日本信息通信研究机构) - PTB(德国): ptbtime1.ptb.de(德国联邦物理技术研究院) - KRISS(韩国): time.kriss.re.kr(韩国标准科学研究院) 换源命令: Linux systemd-timesyncd: ```ini # /etc/systemd/timesyncd.conf [Time] NTP=ntp.aliyun.com ntp.tencent.com # 重启:sudo systemctl restart systemd-timesyncd ``` chrony: ```ini # /etc/chrony.conf server ntp.aliyun.com iburst server ntp.ntsc.ac.cn iburst ``` macOS: ```bash sudo systemsetup -setnetworktimeserver ntp.aliyun.com ``` Windows: ```bash w32tm /config /manualpeerlist:"ntp.aliyun.com ntp.tencent.com" /syncfromflags:manual /update w32tm /resync ``` --- ### 国家科学数据中心 / 科研数据(https://mirrorsproxy.download/science-data) 国内直连的国家科学数据中心 + 全球知名科研数据仓库:基因组 / 微生物 / 天文 / 地球 / 青藏 / 气象 / 统计 / 标准 / 人口健康 + NASA Earthdata / Zenodo / GBIF / NCBI 等。 可用镜像源: - 国家基因组科学数据中心: https://ngdc.cncb.ac.cn/(中科院北京基因组所) - 国家微生物科学数据中心: https://www.nmdc.ac.cn/(中科院微生物所) - 国家天文科学数据中心: https://nadc.china-vo.org/(国家天文台 / LAMOST) - 国家地球系统科学数据中心: https://www.geodata.cn/(中科院南京地理所等) - 国家青藏高原科学数据中心: https://data.tpdc.ac.cn/(中科院青藏所) - 国家人口健康科学数据中心: https://www.ncmi.cn/(医学 / 人口健康) - 中国气象数据网: https://data.cma.cn/(中国气象局) - 国家统计局数据: https://data.stats.gov.cn/(宏观经济 / 人口 / 普查) - 国家标准全文公开系统: https://openstd.samr.gov.cn/(国标在线阅读) - 中国科技论文在线: http://www.paper.edu.cn/(教育部预印本 / 论文) - arXiv(官方): https://arxiv.org/(中科院镜像 xxx.itp.ac.cn 本次实测不可达,建议官方或机构网络) - NASA Earthdata: https://www.earthdata.nasa.gov/(NASA 地球观测数据) - Zenodo: https://zenodo.org/(CERN 运营通用科研数据仓库) - GBIF: https://www.gbif.org/(全球生物多样性信息设施) - NCBI: https://www.ncbi.nlm.nih.gov/(美国生物信息数据库(GenBank/PubMed)) 换源命令: 使用方式 — 国内中心直连注册下载;全球仓库按各站 API / 下载页获取,大文件断点续传: ```text # 例:气象 / 统计 / 基因组 / 生物多样性数据按各中心接口获取 ``` --- ### 免费字体资源(https://mirrorsproxy.download/fonts-cn) 国内 + 全球免费 / 商用字体资源:猫啃网 / 字由 / 站长字体 + Google Fonts / Fontshare / Font Squirrel,设计 / 排版字体获取提速。 可用镜像源: - 猫啃网: https://www.maoken.com/(免费商用字体聚合) - 字由: https://www.hellofont.cn/(字体管理 / 商用授权) - 站长字体: https://font.chinaz.com/(中文字体下载) - Google Fonts: https://fonts.google.com/(全球最大免费字体库(网页引用走镜像)) - Fontshare: https://www.fontshare.com/(ITF 出品免费商用字体) - Font Squirrel: https://www.fontsquirrel.com/(免费商用字体 + webfont 生成) - Google Fonts 镜像: https://fonts.loli.net(见 Google 系镜像页) 换源命令: 使用方式 — 按授权筛选下载;字由客户端一键激活;网页引用走 Google Fonts 镜像: ```text # 注意核对字体授权(免费商用 / 个人 / 需授权) ``` --- ### 矢量图标库(https://mirrorsproxy.download/iconfont) 国内 iconfont + 全球知名图标库 / 聚合:Iconify / Font Awesome / Flaticon / Icons8 / Lucide / Heroicons,SVG / 字体 / 符号下载提速。 可用镜像源: - iconfont: https://www.iconfont.cn/(阿里妈妈 MUX 出品) - Iconify: https://iconify.design/(聚合 20 万+ 图标 / 100+ 图标集) - Font Awesome: https://fontawesome.com/(最流行图标字体) - Flaticon: https://www.flaticon.com/(Freepik 图标 / 贴纸) - Icons8: https://icons8.com/(多风格图标 / 插画 / 照片) - Lucide: https://lucide.dev/(Feather 社区分支 · 简洁线性) - Heroicons: https://heroicons.com/(Tailwind 团队出品) 换源命令: 使用方式 — iconfont 搜索加入库下载 SVG/webfont/symbol;Iconify 跨集搜索统一 API: ```text // iconfont symbol://at.alicdn.com/t/c/font_.js ``` --- ### 公开课 / 教育 / 古籍(https://mirrorsproxy.download/edu-cn) 国内直连教育文化资源 + 全球知名公开课:智慧教育平台(基础/高等)/ 学堂在线 / 中国大学 MOOC / 网易公开课 / 书格 + MIT OCW / Coursera / edX / Khan Academy。 可用镜像源: - 国家中小学智慧教育平台: https://basic.smartedu.cn/(教育部) - 国家高等教育智慧教育平台: https://higher.smartedu.cn/(教育部 · 高校课程) - 学堂在线: https://www.xuetangx.com/(清华发起) - 中国大学 MOOC: https://www.icourse163.org/(网易 / 高教社) - 网易公开课: https://open.163.com/(国外名校课程译制) - 书格: https://www.shuge.org/(公共版权古籍数字图书馆) - MIT OpenCourseWare: https://ocw.mit.edu/(MIT 免费课程资料) - Coursera: https://www.coursera.org/(全球名校 MOOC) - edX: https://www.edx.org/(MIT/Harvard 发起 MOOC) - Khan Academy: https://www.khanacademy.org/(免费基础 / 进阶课程) 换源命令: 使用方式 — 国内平台直连观看 / 缓存;国外平台直连或机构网络;古籍注意公共版权与署名: ```text # 视频课程支持缓存 / 下载(按平台规则) ``` --- ### Minecraft 资源镜像(https://mirrorsproxy.download/minecraft) BMCLAPI 启动器资源镜像 + 全球模组平台 Modrinth / CurseForge + 中文 MC 百科,国内下载 MC 客户端 / 模组提速。 可用镜像源: - BMCLAPI: https://bmclapi2.bangbang93.com/(bangbang93 维护 · 版本/库/资产镜像) - Modrinth: https://modrinth.com/(开源模组 / 资源包平台) - CurseForge: https://www.curseforge.com/(最大模组 / 整合包平台) - MC 百科: https://www.mcmod.cn/(中文模组 / 教程百科) - 官方: https://launchermeta.mojang.com/(还原时使用) 换源命令: 启动器设置 — HMCL / PCL2 / BCL 设置 → 下载源 → BMCLAPI(或自定义地址): ```text https://bmclapi2.bangbang93.com ``` --- ### 路由器 / 设备固件(https://mirrorsproxy.download/firmware-cn) 恩山 / KoolCenter 国内固件社区 + OpenWrt / DD-WRT 官方,路由器 / 设备固件下载提速。 可用镜像源: - 恩山无线论坛: https://www.right.com.cn/(国内最大路由固件社区) - KoolCenter: https://www.koolcenter.com/(梅林 / 官改固件) - OpenWrt 官方镜像: https://mirrors.tuna.tsinghua.edu.cn/openwrt/(见 OpenWrt 换源页) - DD-WRT: https://dd-wrt.com/(第三方路由固件) 换源命令: 使用方式 — 按机型搜索固件帖下载;刷机有风险,核对机型 / 版本 / 校验和: ```text # 刷机前备份原厂固件与配置 ``` --- ### 软件下载站 / 包管理(https://mirrorsproxy.download/software-cn) 国内直连下载站 / 应用市场 + 全球知名下载 / 包管理:腾讯软件中心 / 酷安 / 异次元 / 果核 / 华军 / PC6 + Ninite / Chocolatey / Softpedia / MajorGeeks;注意安全校验。 可用镜像源: - 腾讯软件中心: https://pc.qq.com/(官方合作下载) - 酷安: https://www.coolapk.com/(Android 应用 / 社区) - 异次元软件世界: https://www.iplaysoft.com/(软件推荐 / 下载) - 果核剥壳: https://www.ghxi.com/(绿色 / 便携软件) - 华军软件园: https://www.onlinedown.net/(老牌下载站) - PC6 下载站: https://www.pc6.com/(老牌下载站) - Ninite: https://ninite.com/(Windows 批量静默安装 / 无捆绑) - Chocolatey: https://chocolatey.org/(Windows 包管理) - Softpedia: https://www.softpedia.com/(全球下载站 · 干净校验) - MajorGeeks: https://www.majorgeeks.com/(全球下载站 · 工具类) 换源命令: 安全提醒 — 第三方下载站可能捆绑 / 改包:优先官网或腾讯软件中心 / Ninite;下载后校验签名 / 哈希 / 杀软扫描: ```text # 优先官网 > 官方合作站 / Ninite > 第三方站 ``` --- ### 国产 AI 平台 / 框架 / 全球模型(https://mirrorsproxy.download/ai-cn) 国产 AI 框架 / 平台国内直连 + 全球模型平台:飞桨 / 昇腾 / 始智 / 天池 / DeepSeek / Kimi / 智谱 / 千帆 / 百炼 + Kaggle / Replicate / HuggingFace。 可用镜像源: - 飞桨 PaddlePaddle: https://www.paddlepaddle.org.cn/(百度深度学习框架) - 昇腾 Ascend: https://www.hiascend.com/(华为 AI 算力 / CANN) - 始智 wisemodel: https://www.wisemodel.cn/(国内模型社区) - 天池数据集: https://tianchi.aliyun.com/(阿里竞赛 / 数据集) - DeepSeek: https://www.deepseek.com/(深度求索 · 开源模型) - Kimi: https://www.kimi.com/(月之暗面) - 智谱 BigModel: https://www.bigmodel.cn/(GLM 系列) - 百度千帆: https://qianfan.cloud.baidu.com/(模型服务 / 微调) - 阿里百炼: https://bailian.console.aliyun.com/(模型服务 / 应用) - Kaggle: https://www.kaggle.com/(全球竞赛 / 数据集 / Notebook) - Replicate: https://replicate.com/(全球模型 API / 运行) - ModelScope / hf-mirror: https://modelscope.cn/(见对应页) 换源命令: 飞桨 pip 安装(官方源): ```bash pip install paddlepaddle -i https://www.paddlepaddle.org.cn/packages/stable/cpu/ ``` 始智模型克隆: ```bash git clone https://www.wisemodel.cn//.git ``` --- ## 使用指南 ### Git Clone 加速(https://mirrorsproxy.download/clone) 三种让 git clone 走加速节点的方法:替换克隆链接、全局 insteadOf 自动加速、浅克隆。 ### Release 文件下载加速(https://mirrorsproxy.download/release) 用镜像节点加速下载 GitHub Release 附件:安装包、二进制、CI 产物等。 ### Raw 文件加速(jsDelivr)(https://mirrorsproxy.download/raw) 加速 raw.githubusercontent.com 文件与脚本依赖,以及 jsDelivr CDN 的用法与 20 MB 限制。 ### jsDelivr CDN 使用详解(https://mirrorsproxy.download/jsdelivr) jsDelivr 完整用法:GitHub / npm / WordPress 三种资源来源的 URL 规则、版本规则、min 与 combine、缓存刷新、data API 与国内备用线路。 ### 源码压缩包加速(https://mirrorsproxy.download/archive) 加速下载仓库源码 zip / tar.gz(archive 下载),含从仓库主页与目录页推导的方法。 ### 自建 Cloudflare Worker 加速节点(https://mirrorsproxy.download/self-host) 十分钟部署一个专属 gh-proxy 节点,彻底告别公共镜像失效。 ### Git 代理配置(HTTP / SOCKS)(https://mirrorsproxy.download/proxy) 已有代理(梯子)时不走镜像,直接给 git 配置 HTTP 或 SOCKS 代理的方法与取消命令。 ### GitHub520:改 hosts 加速 GitHub(免代理)(https://mirrorsproxy.download/github520) 用 GitHub520 维护的 hosts 清单把 GitHub 域名指向最优 IP,绕过 DNS 污染与慢解析。含 SwitchHosts 自动刷新、手动写入、一键命令与排错步骤。 ### CI 与脚本中使用加速(https://mirrorsproxy.download/ci) 在 Dockerfile、Shell 脚本、pip、go 等场景使用 GitHub 加速地址的写法与注意事项。 ### chsrc 一键换源工具(https://mirrorsproxy.download/chsrc) chsrc(RubyMetric/chsrc)跨平台一键换源工具用法:set / list / measure 命令、支持的语言 / 系统 / 软件对象,与本站换源指南的对应关系。 ### 加速原理与方案对比(https://mirrorsproxy.download/principles) GitHub / 开发资源为什么慢,以及镜像代理、整站换源、hosts、CDN、自有代理五种加速方案的原理、适用场景与组合建议。 ### 油猴脚本:浏览 GitHub 时一键加速(https://mirrorsproxy.download/userscript) 用 Tampermonkey 油猴脚本把 GitHub 页面上的 Release / Raw / 压缩包链接自动替换为镜像加速地址,浏览时点下载即走镜像。 ### 如何挑选镜像站(https://mirrorsproxy.download/choose-mirror) 从网络位置、同步延迟、覆盖范围、规模、IPv6、稳定性六个维度挑选合适的公共镜像站,附测速方法与失效处理。 ### AI 模型下载加速(https://mirrorsproxy.download/ai-models) HuggingFace / ModelScope / Ollama GGUF 模型国内下载加速:hf-mirror、ModelScope 直连、GGUF 镜像与断点续传。 ### 网络诊断工具箱(https://mirrorsproxy.download/net-diag) 网络慢 / 连不上怎么查:DNS、路由、端口、带宽四步定位,ping / traceroute / mtr / tcping / dig / curl 计时与多地探测网站。 ### 网络调优(MTU / BBR / IPv6)(https://mirrorsproxy.download/net-tune) 不改代理也能提速:MTU/MSS 排查、TCP BBR 拥塞控制、TCP Fast Open、连接队列与 IPv6 启用,附验证命令。 ### 测速与网络质量评估(https://mirrorsproxy.download/net-speed) 用 speedtest-cli / librespeed / iperf3 / curl 与多地拨测网站,正确评估带宽、延迟与丢包,避免被单线程结果误导。 ### 下载与文件传输技巧(https://mirrorsproxy.download/transfer) curl / wget 断点续传与重试、aria2 多线程、rsync 增量、scp 压缩,以及局域网与大文件分享工具。 ### TLS / HTTP / DNS 安全检查(https://mirrorsproxy.download/tls-http) 证书与 TLS 配置检测、HTTP/3 支持、安全响应头、DNSSEC 验证与 DNS 泄漏检测工具清单。 指南正文请访问对应 URL 获取。