cuando estoy usando
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
o
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
recibo la siguiente situación
USER@MacBook-Air ~ % /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 to continue or any other key to abort
==> /usr/bin/sudo /usr/sbin/chown -R USER:admin /usr/local/Homebrew
==> Downloading and installing Homebrew...
HEAD is now at 163cee5ce small correcting in README.md
/bin/bash: line 160: /usr/local/bin/brew: No such file or directory
Failed during: /usr/local/bin/brew update --force --quiet
USER@MacBook-Air ~ %
No sé qué hacer en esta situación. Mi sistema operativo es MacOS Big Sur 11.5.2.