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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章