How to install Homebrew on a Mac

Tech Insights in Your InboxSubscribe to our free newsletter and never miss out on what's happening in the tech world. Learn Tech Today, Lead Tomorrow.

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

https://raw.githubusercontent.com/Homebrew/install/master/install)”

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

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

https://raw.githubusercontent.com/Homebrew/install/master/install.sh)”

  • 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.

Be sure to follow us

Join our newsletter

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

Join our newsletter

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

Protect your online privacy with our trusted partner:

Surfshark VPN ($1.99/mo + 4 FREE months)

30-day money-back guarantee