Installing Homebrew + Cask on Mac

Note: If you’re not running a recent version of macOS (formerly known as Mac OS X), you may need to address a few items. Please consult the below¬†

1. Install Xcode CLI Tools (only)

xcode-select --install

Run from a CLI (command line interface), such as (found in the /Applications/Utilities/ directory). This will perform the install of the command line tools for Xcode, as opposed to a full Xcode install; you may alternately perform the full Xcode install.

2. Install Homebrew

/usr/bin/ruby -e "$(curl -fsSL"

This command will use ruby (a language included in the Xcode cli tools) to download a well maintained install script, to perform the install and setup of homebrew (and the brew command). The $(curl ...) portion performs a download of the install script and passes it to the ruby command to execute. Feel uncomfortable executing code you didn’t write? Read the install script for yourself.


brew search wget


brew install wget


Use like normal!

wget --help

3. Setup (Tap) Homebrew Cask

brew tap caskroom/cask

This taps the cask caskroom. This makes all cask content available for search and install.


brew cask search google-chrome

Alternatively, cask availablility will return under a normal brew search command, such as brew search google-chrome.


brew cask install google-chrome


Use like normal! Google Chrome is now an application in your /Applications/ directory, accessible via Finder, Launchpad, etc.


Homebrew is about the easiest way to install tools for Mac. Homebrew Cask is about the easiest way to install a GUI application, which does perform a native install, it’s just tracked to be more easily upgraded.R

Leave a Reply

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