Install Brew Mac Catalina

  

ShawnstationdeMacBook-Pro: shawnstation$ brew -version Homebrew 1.6.9 Homebrew/homebrew-core (git revision fab7d; last commit 2018-07-07) catalina homebrew Share. Install Any Version of Ruby on Mac OSX with Homebrew 04 Jan 2021 by admin No Comments With the recent release of Ruby 3.0, I thought it’d be a good idea to make my first post of the year on a quick how-to guide to installing the new (or any) version of Ruby.

Homebrew is a package managing tool. It’s more popular on Linux but is also used extensively on macOS. In fact, for apps that install as packages, Homebrew is the easiest way to remove them. Here’s how you can install Homebrew on macOS Catalina.

Xcode

In order to install Homebrew on macOS Catalina, you must have Xcode installed. You can get it from the Mac App Store. The app is large and for some reason, it downloads really slow when you get it from the Mac App store so you’re in for a little wait.

Brew

Once it’s installed, you also need to install Command Line tools for it. To install Command Line tools, open Terminal and enter the following command.

You will see a prompt asking you to confirm that you want to install the tools, and you will also see an EULA that you have to agree to.

The Command Line tools don’t take too long to install. Once it’s finished you can install Homebrew.

Install Homebrew

Mac

Open Terminal and run the following command.

You will have to confirm that you want to install Homebrew. The Terminal will show you all the changes it will be making i.e., new directories it will make when it is installed. Confirm that you want to install it.

After that, you only have to wait for the installation to complete. Once it is complete, you will see a message in Terminal confirming that installation was successful. You can now close Terminal.

If at any point you want to verify the Homebrew installation, you can run the following command in Terminal.

The command will return which version of Homebrew is installed on your Mac.

If you want to uninstall Homebrew, you can run the following command in Terminal.

Homebrew has tons of documentation available so if you’re not sure how to use it, go through the documentation. Apps that you can install via Homebrew often provide the command that you need to run to install them. They basically come with a script that can be run via Homebrew and the script takes care of the installation. If there’s an uninstall script available, you can run it to remove the app.

You should know that apps you install via Homebrew still have to be 64-bit if you’re installing them on Catalina. Homebrew doesn’t let users by-pass the 64-bit condition that Catalina has. There is no getting around that. On that note, Homebrew had to update to a Catalina compatible version so it’s unlikely that you will be able to install older versions of it.

With the recent release of Ruby 3.0, I thought it’d be a good idea to make my first post of the year on a quick how-to guide to installing the new (or any) version of Ruby.


Homebrew

Brew Install Openssl Mac Catalina

Install Brew Mac Catalina

The only thing you’ll need before we get started is brew installed on your machine.

If you don’t have brew, install it by running the following command:


Ruby Install

Once you have brew, you’re ready to go! First, we must install a tool Postmodern/ruby-install to get the version of Ruby that we want:

Now we can download and install any version of ruby available. If we want Ruby 3.0:

Install Brew Mac Os Catalina

or for latest version:

Install Homebrew Mac Os Catalina


Voila! You can now install any version of Ruby you choose.

Multiple Versions of Ruby

Mac Catalina Install Brew

If you need to utilize multiple versions of Ruby and will need to switch back and forth between versions, you may use the corresponding chruby tool here Postmodern/chruby.

Then, to switch between versions: