Step 4 — Installing, Upgrading, and Removing Packages. Now that Homebrew is installed, use it to download a package. The tree command lets you see a graphical directory tree and is available via Homebrew. Install tree with the brew install command: brew install tree. Brew Macos Catalina Additionally, SUMO provides native macOS application bundles for its graphical applications, so they can be added to the macOS dock. There is a separate brew cask that will copy these bundles to the Applications folder: brew cask install sumo-gui.
Homebrew (“Brew”) per se did not have issues after the Catalina upgrade. However, some packages delivered through formulae and casks have not been updated for Catalina and are stuck back in Mojave (or High Sierra, eek!). Old packages will likely have issues with Catalina since a lot has changed. For example, Catalina now uses Ruby 2.6.
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
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:
Install Brew On Mac Catalina
Install Homebrew On Macos Catalina
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:
or for latest version:
Brew Install Openssl Mac Catalina
Voila! You can now install any version of Ruby you choose.
How To Install Brew In Mac
Multiple Versions of Ruby
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.
Brew Install Mysql Mac Catalina
Then, to switch between versions: