I don’t know if this makes any difference, but I’m using macOS 14.5 soloma just to get started. I have been trying to install Homebrew for hours now and not a single solution I can dig up seems to work getting this installed. This is what I’m facing, and I don’t know how to fix this.
Last login: Mon Jun 3 13:51:27 on ttys000
fenris-esxi@Fenriss-iMac ~ % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
==> Checking for `sudo` access (which may request your password)...
Password:
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
Press RETURN/ENTER to continue or any other key to abort:
==> /usr/bin/sudo /usr/sbin/chown -R fenris-esxi:admin /usr/local/Homebrew
==> Downloading and installing Homebrew...
Updating files: 100% (2315/2315), done.
Reset branch 'stable'
==> Updating Homebrew...
Error: Failed to download https://formulae.brew.sh/api/formula.jws.json!
Failed to download https://formulae.brew.sh/api/cask.jws.json!
Failed to download https://formulae.brew.sh/api/formula_tap_migrations.jws.json!
Failed to download https://formulae.brew.sh/api/cask_tap_migrations.jws.json!
curl: (23) Failure writing output to destination
Error: Failure while executing; `/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/4.3.3\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 14.5\)\ curl/8.6.0 --header Accept-Language:\ en --fail --progress-bar --silent --remote-time --output /Users/fenris-esxi/Library/Caches/Homebrew/api/formula.jws.json --location --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.3.3\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 14.5\)\ curl/8.6.0 --header Accept-Language:\ en --fail --progress-bar --silent --compressed --speed-limit 100 --speed-time 5 https://formulae.brew.sh/api/formula.jws.json` exited with 23. Here's the output:
curl: (23) Failure writing output to destination
Failed during: /usr/local/bin/brew update --force --quiet
fenris-esxi@Fenriss-iMac ~ % brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: The following directories do not exist:
/usr/local/Cellar
You should create these directories and change their ownership to your user.
sudo mkdir -p /usr/local/Cellar
sudo chown -R fenris-esxi /usr/local/Cellar
==> Downloading https://formulae.brew.sh/api/formula.jws.json
Warning: Failed to open the file
Warning: /Users/fenris-esxi/Library/Caches/Homebrew/api/formula.jws.json:
Warning: Permission denied
curl: (23) Failure writing output to destination
Error: Failure while executing; `/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/4.3.3\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 14.5\)\ curl/8.6.0 --header Accept-Language:\ en --fail --progress-bar --remote-time --output /Users/fenris-esxi/Library/Caches/Homebrew/api/formula.jws.json --location --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.3.3\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 14.5\)\ curl/8.6.0 --header Accept-Language:\ en --fail --progress-bar --compressed --speed-limit 100 --speed-time 5 https://formulae.brew.sh/api/formula.jws.json` exited with 23. Here's the output:
Warning: Failed to open the file
Warning: /Users/fenris-esxi/Library/Caches/Homebrew/api/formula.jws.json:
Warning: Permission denied
curl: (23) Failure writing output to destination
fenris-esxi@Fenriss-iMac ~ %
This is what I’m faced with, so I gave up went to the Homebrew site, downloaded the pkg file, installed it. No problems with the install using that method, but then when I go back to the terminal, it wouldn’t recognize the brew command
