HomeBrew 更换源 发表于 2018-04-26 | 分类于 Mac 1 、更换国内源1234567替换brew.git:cd "$(brew --repo)"git remote set-url origin https://mirrors.ustc.edu.cn/brew.git替换homebrew-core.git:cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git 1 、更换默认源1234567重置brew.git:cd "$(brew --repo)"git remote set-url origin https://github.com/Homebrew/brew.git重置homebrew-core.git:cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"git remote set-url origin https://github.com/Homebrew/homebrew-core.git