国内使用默认brew源过慢,经常导致失败,查了一下换中科大的源,亲测很快,备份下 123456cd "$(brew --repo)"git remote set-url origin https://mirrors.ustc.edu.cn/brew.gitcd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.gitcd "$(brew --repo)/Library/Taps/homebrew/homebrew-cask"git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git