[ 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
相关推荐
watersink5 小时前
基于大模型的pc版语音对话问答
ide·macos·xcode
Alger_Hamlet6 小时前
OmniGraffle Pro for Mac思维导图
macos
Alger_Hamlet6 小时前
Ae After Effects2024 for Mac 视频处理
macos
Python之栈6 小时前
Python 3.13 正式支持 iOS:移动开发的新篇章
python·macos·objective-c·cocoa
白熊1886 小时前
Mac 本地化部署 dify
macos·dify
Alger_Hamlet19 小时前
Mac电脑 鼠标右键助手 像windows的右键菜单
windows·macos·计算机外设
风吹草地现牛羊的马1 天前
mac m1/m2/m3 pyaudio的安装
深度学习·macos·自然语言处理·#pyaudio
文公子WGZ1 天前
Razer macOS v0.4.10快速安装
macos
Macle_Chen2 天前
XCode中使用MonkeyDev开发iOS版的Comand-line Tool的daemon程序
macos·ios·xcode·逆向·comand-line
Unlimitedz2 天前
iOS GCD
macos·ios·cocoa