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, to name a few. And if that’s something you want to do, keep reading; we will 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.

What do you need?

Knowledge of command line software and tools is something that you need, but there are some other requirements. They 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 > Utilities
  • 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 it will 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.

Join our newsletter

Subscribe to our newsletter and never miss out on what's happening in the tech world. It's that simple.

🚀 Trusted source for tech since 2012