Homebrew/brew.sh

Installation instructions no longer valid on latest macOS

defx opened this issue · 3 comments

defx commented

What you were trying to do (and why)

Install brew according to instructions on brew.sh

What happened (include command output)

On macOS Catalina, /usr/local requires sudo. I believe this has been the case since High Sierra, so the installation instructions are no longer valid.

What you expected to happen

Installation happens without sudo (according to the docs)

Step-by-step reproduction instructions

  1. cd ~/usr/local
  2. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Installation happens without sudo (according to the docs)

Installation requires sudo. This is intentional.

defx commented

@MikeMcQuaid Ok, but the command doesn't include it, and running it with sudo exits with "Don't run this as root!". Wouldn't you agree that the instructions in this case aren't useful?

You're the first person I've heard of that has this particular issue. Homebrew has millions of users. I can't see how the instructions can be improved.