美文网首页
MAC 安装homebrew

MAC 安装homebrew

作者: c_henzz | 来源:发表于2018-08-21 10:56 被阅读0次

Homebrew setup

  • install xcode
    通过App Store安装xcode,有5个多G,我是在安装homebrew过程中xcode command line tools下载不下来,所以安装了这个
  • 使用国内镜像安装homebrewn
    有VPN的同学可以按照官网的方法正常进行安装
    无法按照官网安装的同学,这是我修改过的install文件,链接: https://pan.baidu.com/s/1DBtJREiiX9Y5hk8OM8Mj6A 密码: bmzy
    修改过的部分是:
      before edit:
      BREW_REPO = "https://github.com/Homebrew/brew".freeze
      CORE_TAP_REPO = "https://github.com/Homebrew/homebrew-core".freeze
      
      after:
      BREW_REPO = "git://mirrors.ustc.edu.cn/brew.git".freeze
      CORE_TAP_REPO = "git://mirrors.ustc.edu.cn/homebrew-core.git".freeze
    
    terminal进入install.txt当前目录,然后输入以下命令:
    /usr/bin/ruby install.txt
    
    等待安装完成

相关文章

网友评论

      本文标题:MAC 安装homebrew

      本文链接:https://www.haomeiwen.com/subject/hoydiftx.html