一招教你怎么使用mac 安装配置 homebrew(代码分享)


当前第2页 返回上一页

配置方法:Homebrew镜像使用帮助

[https://mirrors.cloud.tencent.com/help/homebrew.html]。

1

2

3

4

5

6

7

cd "$(brew --repo)"

git remote set-url origin http://mirrors.cloud.tencent.com/git/homebrew/brew.git

 

cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"

git remote set-url origin http://mirrors.cloud.tencent.com/git/homebrew/homebrew-core.git

 

brew update

配置方法:Homebrew-bottles镜像使用帮助

[https://mirrors.cloud.tencent.com/help/homebrew-bottles.html]。

1

2

echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.cloud.tencent.com/homebrew-bottles' >> ~/.bash_profile

source ~/.bash_profile

中科大homebrew

配置方法:Homebrew源使用帮助[http://mirrors.ustc.edu.cn/help/brew.git.html]。

1

2

cd "$(brew --repo)"

git remote set-url origin https://mirrors.ustc.edu.cn/brew.git

配置方法:Homebrew Core源使用帮助[http://mirrors.ustc.edu.cn/help/homebrew-core.git.html]。

1

2

cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"

git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git

配置方法:Homebrew Bottles源使用帮助[http://mirrors.ustc.edu.cn/help/homebrew-bottles.html]。

1

2

echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.bash_profile

source ~/.bash_profile

推荐学习:MacOS教程

以上就是一招教你怎么使用mac 安装配置 homebrew(代码分享)的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

Mac正确地断网方法你知道么

Mac系统下如何查看windows系统的文件

Mac os安装docker的方法

Mac os x系统如何显示和隐藏文件

Mac下如何制作windows启动盘

Mac下的常用终端命令介绍

Mac电脑如何完全卸载软件

Mac电脑怎么取消开机声音

Mac更新系统版本失败怎么办

Mac键盘锁住了怎么办

更多相关阅读请进入《Mac》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...