IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    brew速度慢解决

    Blackrose发表于 2016-12-03 15:12:00
    love 0

    brew运行慢是因为要从github上同步,这里可以使用清华的镜像

    cd "$(brew --repo)"
    git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
    
    cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
    git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
    
    brew update
    

    tsinghua brew



沪ICP备19023445号-2号
友情链接