brew 更换国内源
时间: 2023-09-03 14:16:13 浏览: 135
Brew-2.5.11
要更换brew的国内源,有两个选择。第一个选择是将镜像源切换为阿里镜像源。你可以通过在终端中执行以下命令来完成这个操作:cd "$(brew --repo)" && git remote set-url origin https://mirrors.aliyun.com/homebrew/brew.git。第二个选择是将镜像源切换为官方镜像。你可以通过在终端中执行以下命令来完成这个操作:cd "$(brew --repo)" && git remote set-url origin https://github.com/Homebrew/brew.git。不论你选择哪个镜像源,都可以提高brew的下载速度和效率。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [Homebrew更换国内镜像源(中科大、阿里、清华)](https://blog.csdn.net/xiewanchen0708/article/details/128232697)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文