mirror tools for syncing homebrew bottle files.
run the following command on your Mac:
brew tap gaoyifan/bottle-mirror
brew bottle-mirror
docker run -itd \
--name=homebrew-bottles \
-v $YOUR_REPOSITORY_DIR:/srv/data \
gaoyifan/homebrew-bottle-mirror
https://mirrors.ustc.edu.cn/homebrew-bottles/
add the following line to your ~/.bash_profile
(if you use bash)
export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles
then load the new configration
$ source ~/.bash_profile