Homebrew is a third-party package manager that lets you install apps and services using the command line on macOS. This saves time and makes it easier to manage third-party software.

In simple words, Homebrew completes MacOS if you are a Linux user you know what I am talking about and you would love it.

All you need to know is how to use the Terminal and everything else is explained in this article.

Installation.

Open the Terminal and run the commands below.

In order to get Homebrew working we need to install Xcode libraries on the Mac.

xcode-select --install
Code language: Bash (bash)

Once the above command is done executing, we can get Homebrew by running the command shown below.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Code language: JavaScript (javascript)

Now we can install packages using Homebrew, for this example we will install htop, htop is an activity/system resource monitor that runs inside a Terminal window.

brew install htop

Once the command above has completed its execution. You can run.

htop

or

sudo htop

That’s it, folks, now we have Homebrew installed on our Mac.

Darryl Dias

I’m Darryl. I’m a 3D Artist, Programmer and Linux enthusiast. On this site I share my insights, tips and tricks, tutorials, methods and best practices.

Leave a comment

Your email address will not be published. Required fields are marked *