brew 开始提供 pkg installer

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Paste that in a macOS Terminal or Linux shell prompt. The script explains what it will do and then pauses before it does it. Read about other installation options.

If you’re on macOS, try our new .pkg installer. Download it from Homebrew’s latest GitHub release.