Meanwhile, homebrew install instructions:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/inst...)"
Then it prompts user for admin previledges. Also, it does not support installing as a local non-admin user.
Does it still do the "you can't install via sudo, that's a security risk" while not allowing a non-admin install? I laugh and I cry.
Why does anyone trust that project to understand security?
I would agree if it was the only way to install Homebrew, but it is not.
You can install it via a .pkg here: [0]
[0] https://github.com/Homebrew/brew/releases/tag/5.0.13