# brew 程序本身git-C"$(brew--repo)"remoteset-urloriginhttps://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git# 以下针对 mac OS 系统上的 Homebrewgit-C"$(brew--repohomebrew/core)"remoteset-urloriginhttps://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.gitgit-C"$(brew--repohomebrew/cask)"remoteset-urloriginhttps://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.gitgit-C"$(brew--repohomebrew/cask-fonts)"remoteset-urloriginhttps://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask-fonts.gitgit-C"$(brew--repohomebrew/cask-drivers)"remoteset-urloriginhttps://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask-drivers.git# 更换后测试工作是否正常brewupdate
# brew 程序本身git-C"$(brew--repo)"remoteset-urloriginhttps://mirrors.ustc.edu.cn/brew.git# 以下针对 mac OS 系统上的 Homebrewgit-C"$(brew--repohomebrew/core)"remoteset-urloriginhttps://mirrors.ustc.edu.cn/homebrew-core.gitgit-C"$(brew--repohomebrew/cask)"remoteset-urloriginhttps://mirrors.ustc.edu.cn/homebrew-cask.git# 更换后测试工作是否正常brewupdate
支持的 Tap 比清华的要少些,不过大家最常用的还是 core 和 cask,我在广东的连接速度还是挺快的,也是值得一用。
IPv6 的地址是 ipv6.mirrors.ustc.edu.cn,有需要的可以试试。
3. 阿里巴巴镜像
# brew 程序本身git-C"$(brew--repo)"remoteset-urloriginhttps://mirrors.aliyun.com/homebrew/brew.git# 以下针对 mac OS 系统上的 Homebrewgit-C"$(brew--repohomebrew/core)"remoteset-urloriginhttps://mirrors.aliyun.com/homebrew/homebrew-core.git# 更换后测试工作是否正常brewupdate
唉,比上面又少了 cask~
4. 腾讯软件源
# brew 程序本身git-C"$(brew--repo)"remoteset-urloriginhttps://mirrors.cloud.tencent.com/homebrew/brew.git# 以下针对 mac OS 系统上的 Homebrewgit-C"$(brew--repohomebrew/core)"remoteset-urloriginhttps://mirrors.cloud.tencent.com/homebrew/homebrew-core.gitgit-C"$(brew--repohomebrew/cask)"remoteset-urloriginhttps://mirrors.cloud.tencent.com/homebrew/homebrew-cask.gitgit-C"$(brew--repohomebrew/cask-fonts)"remoteset-urloriginhttps://mirrors.cloud.tencent.com/homebrew/homebrew-cask-fonts.gitgit-C"$(brew--repohomebrew/cask-drivers)"remoteset-urloriginhttps://mirrors.cloud.tencent.com/homebrew/homebrew-cask-drivers.git# 更换后测试工作是否正常brewupdate
# brew 程序本身git-C"$(brew--repo)"remoteset-urloriginhttps://github.com/Homebrew/brew.git# 以下针对 mac OS 系统上的 Homebrewgit-C"$(brew--repohomebrew/core)"remoteset-urloriginhttps://github.com/Homebrew/homebrew-core.gitgit-C"$(brew--repohomebrew/cask)"remoteset-urloriginhttps://github.com/Homebrew/homebrew-cask.gitgit-C"$(brew--repohomebrew/cask-fonts)"remoteset-urloriginhttps://github.com/Homebrew/homebrew-cask-fonts.gitgit-C"$(brew--repohomebrew/cask-drivers)"remoteset-urloriginhttps://github.com/Homebrew/homebrew-cask-drivers.git# 更换后测试工作是否正常brewupdate