[ Mac ] HomeBrew Set Sources from China

edit system environments
bash 复制代码
open ~/.bash_profile
if not exist, create one
bash 复制代码
touch ~/.bash_profile
add this to script end
bash 复制代码
# Brew
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"
export HOMEBREW_API_DOMAIN="https://mirrors.ustc.edu.cn/homebrew-bottles/api"
export HOMEBREW_NO_ENV_HINTS="1"
reload script to take effect
bash 复制代码
source ~/.bash_profile
相关推荐
思盛iOS签名上架14 小时前
App苹果签名有什么作用?
macos·ios·cocoa
MartinYeung517 小时前
[论文学习]MAC:多智能体宪章学习
人工智能·学习·macos
greasyfork18 小时前
Mac Sketch v2026.3 矢量图设计工具
macos·ui·sketch
无定义_1 天前
萌新联赛(六)
macos·objective-c·cocoa
风安•辛幸1 天前
mac上微信最新v4以上版客户端多开教程,亲测可用
macos·微信
weixin_531670892 天前
Interlude起来:动作动画和文字通知哪个更适合休息提醒?Mac上有没有用桌宠做动作引导的软件?
人工智能·macos·mac·swift
FairGuard手游加固2 天前
iOS 游戏加固技术解析:代码混淆、资源加密、内存保护与重签名检测
安全·游戏·macos·unity·ios·objective-c
思盛iOS签名上架2 天前
iOS企业签名原理是什么?
macos·ios·cocoa
Wang's Blog2 天前
Vibe Coding一人即团队系列23: 基于Stitch/Sketch的UI原型1:1复刻工作流
人工智能·macos·ui·sketch
空の鱼3 天前
Mac 上 Node 版本管理(brew + nvm 共存方案)
macos·node.js