Apple

How To Install Homebrew On Your MacOS Computer

The MacOS Terminal window isn’t just for geeks. With the Homebrew package manager, anyone can easily install software using just the Terminal window and your keyboard.

You know instantly when a computer user is a geek when they bring up the Command Line (or the Terminal if you’re on a Mac). This may be a tired over-used stereotype but geeks are normally depicted in movies and TV shows as the ones who effortlessly type complicated commands into a command window.

Many other computer users (a.k.a. my mother) may look at this and think “how difficult!” But it doesn’t have to be. Using the Terminal window on your Mac can be quite easy, quite useful, and save lots of time. One example is using Homebrew to install software.

What is Homebrew & Why Should I Care?

Quite simply, Homebrew is a computer script (based on the Python programming language). You can install it on your Mac and then use it to install software using only the Terminal window and a keyboard.

Why should you care about it? Well if you like saving time, as well as doing everything with your keyboard, then Homebrew is ideal for you. Instead of going to the Chrome website to install the Chrome browser for example, you can just use a Homebrew command to do it for you.

Also, it just looks cool and will impress the heck out of people who will think you’re some kind of computer genius.

Finally, if you don’t like it, you can easily uninstall it. We will show you how in this article.

Installing Homebrew In Less Than Thirty Seconds

Open up a Terminal window on your screen by going to your Finder and then Applications–>Utilities. Now copy and paste the following into the Terminal window and press the Enter button.

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

This kicks off the installation process. It will first show you what folders it will create on your computer. These folders are necessary for Homebrew to work. Press the Enter/Return key on your keyboard to move the installation along.

It will now ask you for your MacOS login password. This will be the administrator password.

Once you have put in your password, the required files and folders are rapidly installed.

When it says Installation successful! then you’re finished.

Using Homebrew

So let’s say you want to install the Opera browser on your computer. Normally you would go to the Opera website and download the installation file. But to paraphrase Back To The Future, now that you’ve got Homebrew, who needs websites?

Just open up a Terminal window and type :

brew install opera

However in the case of Opera, it has thrown back an error message. There are several possible Opera programs to choose from. So choose which one you want, and it shows you the command you need to install it.

So I chose the regular Opera browser and off it went. It installed in less than 15 seconds.

When it’s done, it will automatically move the newly installed program into the Applications folder.

If you now check your Applications folder, you will see the newly installed Opera browser.

Uninstalling Homebrew

If for some reason, you decide Homebrew is not for you, uninstalling it is simple.

Open up a Terminal window again, and copy & paste the following command.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

It will ask you if you are sure you want to uninstall it. If so, press Y on your keyboard. If you’ve had a change of heart, press N to cancel.

It will then begin the uninstallation process by deleting some empty folders. But it will stop at some point and ask for your MacOS password to confirm the deletion of the rest.

Once the rest has been uninstalled, it will give you a list of folders it was unable to delete. You will need to go into your Finder area and delete them manually.

Conclusion

Homebrew may not seem worth it but trust me, once you have it on your computer, you will use it time and time again. It is so productive and useful being able to install software using just a script and a keyboard.

Do you use the Terminal on your Mac? Tell us how in the comments.


1 Comment

1 Comment

  1. Sally King  

    Please explain in layman’s terms what is Home Brew and how would I use it? I would like to learn more about using my computer and all the extra’s but I’ve just found out a few months ago that what one used to call a “program” is now called an “app”.

Leave a Reply

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

 

To Top