Mac M1 通过 brew 安装 nginx 时报错
Error: No developer tools installed.
Install the Command Line Tools:
xcode-select --install
解决方案
第一步
打开该网站 ☛ 点我打开, 搜索
Command Line Tools
,下载跟自己系统版本对应的或者高于系统版本的安装包。
第二步
终端执行
/bin/zsh -c “$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)”
接下来就可以安装了