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 https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

  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

3 Comments

» 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 https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”
        ==> Checking for `sudo` access (which may request your password)…
        ==> This script will install:
        /opt/homebrew/bin/brew
        /opt/homebrew/share/doc/homebrew
        /opt/homebrew/share/man/man1/brew.1
        /opt/homebrew/share/zsh/site-functions/_brew
        /opt/homebrew/etc/bash_completion.d/brew
        /opt/homebrew
        ==> 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 Amazon.com and help support OSXDaily!

Subscribe to OSXDaily

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

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site