enter image description hereI was trying to install Homebrew in Terminal. I have MacOs Catalina 10.15.7. I am the admin of my computer. But i keep getting the following messages.

1 Answer 1


The error is rather clearly informing you that the command you executed is the old ruby based installer. You should go to the Homebrew website and re-copy the bash based installer from the https://brew.sh website.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  • Thanks a lot. It worked. But now I got another error: Sep 25, 2020 at 12:06
  • Using the brew doctor command can be informative. Sep 25, 2020 at 12:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .