Mac更换brew镜像源解决brew update慢
2020-04-15 leiting (2363阅读)
标签 Mac OS
更换brew镜像源
# 进入brew主目录 $ cd `brew --repo` # 更换镜像 $ git remote set-url origin https://mirrors.ustc.edu.cn/brew.git # 测试效果 $ brew update
几个镜像:
https://git.coding.net/homebrew/homebrew.git - Coding
https://git.coding.net/homebrew/homebrew.git
https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git - 清华
https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
https://mirrors.ustc.edu.cn/brew.git - 中科大
https://mirrors.ustc.edu.cn/brew.git
最新评论:
最新评论: