国内加速Homebrew
加速 国内 Homebrew
2023-06-13 09:16:16 时间
感谢ustc
brew 以及 homebrew-core
# 替换brew.git:
cd "$(brew --repo)"
git remote set-url origin https://mirrors.ustc.edu.cn/brew.git
# 替换homebrew-core.git:
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
bottles
# 对于bash用户:
echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.bash_profile
source ~/.bash_profile
# 对于zsh用户
echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.zshrc
source ~/.zshrc
重置
# 重置brew.git:
cd "$(brew --repo)"
git remote set-url origin https://github.com/Homebrew/brew.git
# 重置homebrew-core.git:
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://github.com/Homebrew/homebrew-core.git
相关文章
- R-Purrr的使用,加速数据处理
- 视频切片后自动上传至国内免费CDN,无成本加速视频播放
- 【JS 逆向百例】某网站加速乐 Cookie 混淆逆向详解
- Pandas中Apply函数加速百倍的技巧
- 探索Redis——加速数据库性能(数据库redis)
- Intel 10nm轻薄本提速:i7-1195G7加速达到5GHz
- wordpress国内网速慢加速及防DDOS攻击快速CF切换教程
- 只造手机不过瘾!富士康加速推进电动车项目
- 使用Redis让项目加速发展(redis在项目中的使用)
- 腾讯云加速提升Redis访问速度(腾讯云 redis访问)
- 模糊查找助你加速 Redis 效率(模糊查找redis)
- 多线程加速从Redis中抓取数据(多线程向redis拿数据)
- 多线程技术加速Redis高效处理(多线程与redis)
- 使用Redis节点信息加速数据传输(redis节点信息)
- 信息利用Redis加速读取数据库信息(redis 读取数据库)
- 一篇文章为你详解什么是 GPU 加速