Fork me on GitHub

Homebrew国内镜像

参考清华镜像
https://mirror.tuna.tsinghua.edu.cn/help/homebrew/

git clone https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/install.git
cd install

修改
BREW_REPO="https://github.com/Homebrew/brew"
# 改成:
BREW_REPO="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git"

HOMEBREW_CORE_GIT_REMOTE=https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git bash install.sh

posted @ 2020-12-05 14:52  _落雨  阅读(1300)  评论(0编辑  收藏  举报