获取brew安装脚本
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install >> brew_install
修改数据源为中科大源
修改预BREW REPO
#BREW_REPO = "https://github.com/Homebrew/brew".freeze
BREW_REPO = "https://mirrors.ustc.edu.cn/brew.git".freeze
重新安装brew
/usr/bin/ruby brew_install
网友评论