homebrew-bottles source change (Tsinghua tuna)

This article is transcoded by SimpRead, original address mirrors.tuna.tsinghua.edu.cn

homebrew-bottles Usage Help | Mirror Site Usage Help | Tsinghua University Open Source Software Mirror Site, dedicated to providing high-quality open source software mirrors and Linux mirror sources for domestic and on-campus users, helping users to obtain open source software more conveniently.

Homebrew-bottles Mirror Usage Help

Note: This mirror hosts the Homebrew binary precompiled package bottles. This mirror site also provides the mirror for Homebrew’s formula index (i.e., the content updated when running brew update), please refer to Homebrew Mirror Usage Help.

Temporary Replacement

export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles"


Permanent Replacement

If you use bash:

echo 'export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles"' >> ~/.bash_profile
export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles"


If you use zsh:

echo 'export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles"' >> ~/.zprofile
export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles"


Note: The Linuxbrew core repository (linuxbrew-core) has been deprecated since October 25, 2021 (starting from brew version 3.3.0). Linuxbrew users should migrate to homebrew-core. Linuxbrew users please reset your mirror settings according to this mirror’s instructions.