How to Install Homebrew on MacOS Sonoma Beta

Jul 19, 2023 - 3 Comments

Install Homebrew in MacOS Sonoma

If you use Homebrew with your Mac, you probably want to install Homebrew in MacOS Sonoma as well. While it installs as intended for many Mac users, some are experiencing issues when attempting to install Homebrew in the Sonoma beta. We’ll cover the solution, showing you how to get Homebrew installed successfully in MacOS Sonoma 14.

If you’ve installed Homebrew on the Mac before, you know the process has changed slightly over time, but it is basically a matter of entering a terminal command.

Installing HomeBrew on MacOS Sonoma Beta

Before you can install Homebrew in MacOS Sonoma, you need to install Command Line Tools.

  1. Launch the Terminal application in MacOS Sonoma
  2. Run the following command, this will attempt to install Command Line Tools
  3. xcode-select --install

  4. If this fails, follow these instructions on how to install Command Line Tools in MacOS Sonoma beta
  5. After Command Line Tools has installed, enter the following command exactly:
  6. /bin/bash -c "$(curl -fsSL"

  7. Hit return to install Homebrew on MacOS Sonoma

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

As you probably know by now, Homebrew relies on Command Line Tools for dependencies, so if you do not install CLT, you will not be able to install Homebrew, thus the process involves both of those steps.

Once Homebrew has installed, you may want to opt out of the Homebrew analytics data sharing, which is enabled by default. To turn this off:

brew analytics off

Now that you have Homebrew, you can check out our other Homebrew articles and take a look at this list of the best Homebrew packages to install.


Related articles:

Posted by: Paul Horowitz in Command Line, Mac OS, Tips & Tricks


» Comments RSS Feed

  1. Danliushka says:

    Fails on:
    System Version: macOS 14.0 (23A339)
    Kernel Version: Darwin 23.0.0

    • Paul says:

      What is the failure or error when trying to install Homebrew in Sonoma final? It worked for me

      • Danilushka says:

        NOTE: I put USER in place of my username for on-line safety…

        ❯ /bin/bash -c “$(curl -fsSL”
        ==> Checking for `sudo` access (which may request your password)…
        ==> This script will install:
        ==> HOMEBREW_BREW_GIT_REMOTE is set to a non-default URL:
        /Users/USER/Homebrew/brew will be used as the Homebrew/brew Git remote.
        ==> HOMEBREW_CORE_GIT_REMOTE is set to a non-default URL:
        /Users/USER/Homebrew/homebrew-core will be used as the Homebrew/homebrew-core Git remote.

        Press RETURN/ENTER to continue or any other key to abort:
        ==> /usr/bin/sudo /usr/sbin/chown -R USER:admin /opt/homebrew
        ==> Downloading and installing Homebrew…
        fatal: ‘/Users/USER/Homebrew/brew’ does not appear to be a git repository
        fatal: Could not read from remote repository.

        Please make sure you have the correct access rights
        and the repository exists.
        Failed during: /usr/bin/git fetch –force origin

Leave a Reply


Shop on and help support OSXDaily!

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks


iPhone / iPad



Shop on Amazon to help support this site