Mac 平台各种安装汇总
参考网址: https://brew.idayer.com/
安装命令
使用这个命令,可以快速走国内镜像安装。速度较快。
/bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"
安装Xcode Command Line Tool (可能)
可能需要安装Xcode Command Line Tool
下载并安装
https://developer.apple.com/download/all/?q=xcode
或者使用
xcode-select --install
安装 cocoapods
brew install cocoapods
卸载 cocoapods
brew uninstall cocoapods
重新安装 cocoapods
brew reinstall cocoapods
升级 cocoapods
brew upgrade cocoapods