Homebrew

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.

Prerequisite 

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.

xcode-select –install

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.

Image_For_QADummyAbout the Author 
Chamal is a Software Quality Assurance engineer with over 3+ years of experience. When he is not working, he can be found either reading a book or browsing Zomato or Yamu.
You can contact him on LinkedIn or twitter
Advertisements

One comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s