How to Install Homebrew on macOS Sonoma Beta

If you’re running Homebrew on your Mac, you’ll probably want to install Homebrew on macOS Sonoma as well.While it installs as intended for many Mac users, some are having issues when trying to install Homebrew on the Sonoma beta.We’ll walk through the solution by showing you how to successfully install Homebrew on macOS Sonoma 14.

If you’ve installed Homebrew on a Mac before, you know the process has changed a bit over time, but it’s mostly a matter of typing a terminal command.

Installing HomeBrew on macOS Sonoma Beta

Before you can install Homebrew on macOS Sonoma, you need to install the command line tools.

  1. Launch the Terminal app on macOS Sonoma.
  2. Run the following command, this will try to install the command line tools
  3. xcode-select--install

  4. If that doesn’t work, follow these instructions to install command line tools on macOS Sonoma beta.
  5. After installing the command line tools, enter exactly the following command:
  6. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

  7. Click Return to install Homebrew on macOS Sonoma.

That’s it, you’ve installed Homebrew on your Sonoma Mac.

As you probably already know, Homebrew relies on command line tools for dependencies, so if you don’t install the CLT you can’t install Homebrew, so the process includes both of those steps.

Once Homebrew is installed, you can opt out of Homebrew analytics sharing, which is enabled by default.To turn it off:

brew analytics off