Homebrew is a missing package manager for Mac OS X. Using Homebrew you can install packages which could be easily installed in Linux, but are not available in Mac OS X.

Homebrew installs software inside the /usr/local subdirectory in Mac OS X. OS X doesn’t install anything there on its own; in fact, /usr/local is reserved for user-installed stuff. Homebrew installs packages to their own directory and then symlinks their files into /usr/local. It is available for Mac OS X 10.10 Yosemite, OS X 10.9 Mavericks and other older versions till OS X 10.6.

Installing Homebrew in Mac

Open your terminal and run the following command

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

Enter your Mac’s password when prompted.

 

Usage

To install any package using homebrew, run the following package

brew install package_name

Here are more options for installing packages

Also read:  How to Download & install MacPorts on Mac OS X

Did you like it?
Please Rate it below:

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...