码迷,mamicode.com
首页 > 系统相关 > 详细

MAC 更新brew 镜像源

时间:2017-03-26 00:45:29      阅读:382      评论:0      收藏:0      [点我收藏+]

标签:class   更新   domain   ttl   bash   file   exp   home   ash   

mac 更新brew镜像源

cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin git://mirrors.ustc.edu.cn/homebrew-core.git
echo export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles >> ~/.bash_profile
source ~/.bash_profile
brew update

 

MAC 更新brew 镜像源

标签:class   更新   domain   ttl   bash   file   exp   home   ash   

原文地址:http://www.cnblogs.com/jackylee92/p/6619143.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!