美文网首页
新版Xcode安装不了brew的坑

新版Xcode安装不了brew的坑

作者: 你飞跃俊杰 | 来源:发表于2020-11-17 13:58 被阅读0次

官网:https://brew.sh/index_zh-cn.html
一、旧版安装brew
打开终端输入:/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

二、新版安装brew
新版Xcode没有自带安装Xcode-selected

要先安装对应Xcode的Xcode-selected

1.安装Xcode-selected:Xcode -open develop tools-more develop tools-下载安装Xcode对应版本的command line developer tools
2.安装完
3.打开终端输入:/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

相关文章

网友评论

      本文标题:新版Xcode安装不了brew的坑

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