brew使用国内镜像加速切换 Homebrew core 仓库到中科大镜像 cd "$(brew --repo)" git remote set-url origin https://mirrors.ustc.edu.cn/brew.git 切换 Homebrew Core 仓库 cd "$(brew --repo homebrew/core)" git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git 更新 brew update