如何在 mac 上安装自制软件?

How do I install homebrew on mac?

我试过命令

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
==> The following directories will be made group writable:
/usr/local/include
/usr/local/lib
/usr/local/lib/pkgconfig
==> The following directories will have their group set to admin:
/usr/local/include
/usr/local/lib
/usr/local/lib/pkgconfig

但我不知道那是什么意思...

您是否安装了 XCode 和命令行工具?如果是这样,上面的脚本应该已经完成​​了。

转到终端并输入

brew doctor

这将告诉您安装状态。