How to Install Homebrew on MacOS Sonoma Beta
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.
- Launch the Terminal application in MacOS Sonoma
- Run the following command, this will attempt to install Command Line Tools
- If this fails, follow these instructions on how to install Command Line Tools in MacOS Sonoma beta
- After Command Line Tools has installed, enter the following command exactly:
- Hit return to install Homebrew on MacOS Sonoma
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
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.
Fails on:
System Version: macOS 14.0 (23A339)
Kernel Version: Darwin 23.0.0
What is the failure or error when trying to install Homebrew in Sonoma final? It worked for me
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