Homebrew 镜像源配置(清华)
发布时间 2023-11-17 09:15:14作者: vx_guanchaoguo0
临时设置(运行下面这行命令)
export HOMEBREW_API_DOMAIN=" Index of /homebrew-bottles/api" && export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles" && export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git" && export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git" && export HOMEBREW_PIP_INDEX_URL="https://pypi.tuna.tsinghua.edu.cn/simple"
、长期设置
查看 brew 源
brew tap
查看详情
brew tap-info sunnyyoung/repo