How to install Homebrew on a Mac

Experienced Mac users can take advantage of Homebrew which allows them to install all kinds of tools and command lines such as htop, wget, irssi, cask, just to name a few. And if that’s something you want to do, keep reading, we are going to show you how to install Homebrew on a Mac. As soon as you do it, you’ll be able to install command line software and various tools.

See also: Mac Task Manager: Where Is It And How To Open It?

What do you need?

Knowledge of command line software and tools is something that you definitely need, but there are some other requirements. Those are:

  • Installed Command line tools
  • A Mac with Mac OS X 10.10 or later

Steps to install Homebrew on a Mac

Now that you know the requirements, here is how to install Homebrew on a Mac:

  • Navigate to Applications > Uttilities
  • Open the Terminal app
  • If you are using macOS High Sierra, macOS Sierra, macOS El Capitan, or earlier, enter the following as a single line

/usr/bin/ruby -e “$(curl -fsSL”

  • If you are using macOS Catalina, Mojave, and or Big Sur enter the following

/bin/bash -c “$(curl -fsSL”

  • Now click Run
  • Next, click either Escape if you want to cancel the action, or click Return to accept it
  • You’ll have to enter the administrative password
  • The installation will now begin.

You’ll have to wait for a while, and how long will it take depends on several things such as your internet connection, the Mac speed, etc.

When the installation is complete, you are ready to use Homebrew to install different tools and command line software.