Homebrew is a package manager for OS X. It is designed for installing UNIX tools and other application on MAC OS. No need of drag and drop the .dmg files to the Applications folder. Homebrew Cask extends the Homebrew capabilities, with this support, it supports to install larger binary files.


Homebrew requires to have Command line tools for XCode on Mac. This can be done by either installing full XCode application from Apple or install only the command line tools, which is the easiest way to do this.

All you need to do is open a terminal and type below command. Then press Enter.

Install Homebrew

Type the below command on a terminal & hit Enter.

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

This requires the administrative password to proceed & status will be shown on the terminal.

Installing Cask

After installing the Homebrew, type the below command & press Enter.

$ brew install caskroom/cask/brew-cask

Done! You are successfully installed the Homebrew. Now let’s see what you can do from Homebrew.

Install Java

Downloading the relevant .dmg file from Oracle and install it by going through the wizard would be the ordinary way of installing the Java on a Mac OS X. But this can be achieved via Homebrew just typing few commands.

All you need is to open a terminal and type below command & hit enter.

$ brew update
$ brew tap caskroom/cask
$ brew install Caskroom/cask/java

Install Google Chrome

As in the above step, Open up a terminal, paste below command and hit enter.

$ brew cask install google-chrome

Here are few more commands of Homebrew.

Sharing is caring!

Leave a Reply

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