Mac brew安装软件镜像加速

大家伙可能碰到Mac下brew安装软件慢的问题,可以添加加速镜像来解决。

在.bash_profile文件中加入:

export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.ustc.edu.cn/brew.git"

export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.ustc.edu.cn/homebrew-core.git"

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

brew4.x API加速

export HOMEBREW_API_DOMAIN="https://mirrors.ustc.edu.cn/homebrew-bottles/api"

然后source一下:

复制代码
source .bash_profile

再来用brew来安装软件,速度快了很多!

相关推荐
啊啊啊~~4 小时前
新mac电脑软件安装指南(前端开发用)
macos·node·n·oh my zsh·solarized
lm down4 小时前
ComfyUI中运行Wan 2.1工作流,电影级视频,兼容Mac, Windows
人工智能·macos·ai作画·视频
天安彩4 小时前
mac下 vscode 运行 c++无法弹出窗口
c++·vscode·macos·clang
太阳伞下的阿呆4 小时前
配置Mac/Linux终端启动执行脚本
linux·运维·macos
芦苇Z5 小时前
macOS 安装应用软件的三种方式
macos
Digitally10 小时前
如何将荣耀手机的照片传输到 Mac
macos·智能手机
Digitally10 小时前
如何将 iPhone 备份到 Mac/MacBook
macos·ios·iphone
猫头虎10 小时前
[精选] 2025最新生成 SSH 密钥和 SSL 证书的标准流程(Linux/macOS/Windows系统服务器通用方案)
linux·服务器·开发语言·macos·ssh·ssl·ai编程
Everbrilliant891 天前
macOs上交叉编译ffmpeg及安装ffmpeg工具
macos·ffmpeg·ffmpeg交叉编译·ffmpeg工具安装
sunshine__sun1 天前
快速启用 JMeter(macOS Automator 创建 JMeter 脚本)
jmeter·macos