美文网首页
Mac 安装Homebrew

Mac 安装Homebrew

作者: _凌浩雨 | 来源:发表于2019-02-22 09:52 被阅读0次
1). Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2). 镜像安装
  • 获取install文件
    打开https://raw.githubusercontent.com/Homebrew/install/master/install, 将文件另存为brew_install文件。

  • 修改文件

#BREW_REPO = "https://github.com/Homebrew/brew".freeze
BREW_REPO = "https://mirrors.ustc.edu.cn/brew.git".freeze 
  • 在对应的brew_install目录执行命令
/usr/bin/ruby brew_install
  • 更新命令
brew update

相关文章

网友评论

      本文标题:Mac 安装Homebrew

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