mac 安装 nginx 踩坑(M1 芯片、ARM 架构芯片)
问题一 没有 brew
安装 brew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# version
$ brew -v
问题二 brew update 报错
# 报错信息
$ brew update
error: Not a valid ref: refs/remotes/origin/master
fatal: Could not resolve.
原创
2021-12-14 09:46:10 ·
2717 阅读 ·
0 评论