E.F.S.F. E.F.S.F.

销声匿迹 沉默是金

目录
BREW换源
/  

BREW换源

BREW_REPO="https://mirrors.ustc.edu.cn/brew.git"

cd "$(brew --repo)"
Git remote set-url origin https://mirrors.ustc.edu.cn/brew.git

cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
Git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git

cd "$(brew --repo)"/Library/Taps/homebrew/homebrew-cask
Git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git

brew update


标题:BREW换源
作者:devcui
地址:https://blog.eiyouhe.com/articles/2020/04/26/1587865787226.html