https://mirror.tuna.tsinghua.edu.cn/help/homebrew/
- Mac上Homebrew安装可通过下面这条命令完成
1 | /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
- Homebrew 二进制预编译包的镜像
1 | echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles'>> ~/.bash_profile |
- Homebrew 的 formula 索引的镜像(即brew update时所更新内容)
1 | cd "$(brew --repo)" |