看了下目前网上现有的教程,都没法解决安装慢的问题,甚至贴的镜像源都是错的。。。 这里记录下:git
export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.ustc.edu.cn/brew.git"
github
export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.ustc.edu.cn/homebrew-core.git/"
bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
markdown
等大概5min 就能够了curl