Homebrew 镜像源配置(清华)
临时设置(运行下面这行命令)
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
本文来自博客园,作者:vx_guanchaoguo0,转载请注明原文链接:https://www.cnblogs.com/guanchaoguo/p/17837852.html