Sep 13, 2018

Homebrew, a Package Manager for Mac OS X

Written by Avantgarde
Reading time: 1 min


Share this article:

 

Homebrew (https://brew.sh) is a package manager for MAC OS X. It helps us to conveniently install software packages on OS X systems.

Here’s how to install Homebrew on you MAC.

Requirements:

  1. Mac OS X 10.10 or later preferred (earlier versions may work)
  2. Command Line Tools installed on the Mac
  3. Basic terminal / command line using bash or zsh

How to install:

Launch Terminal from Applications-Utilities

Type or copy-paste following in to the terminal (ensure it is in a single line):

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

Enter administrator password when prompted

For Homebrew commands, type:

brew help

To install a package:

brew install "package name"

Some commands to check and update Homebrew:

brew doctor

brew update

Remove Homebrew:

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

Hombrew is not available for Windows OS. Some alternatives of Homebrew for Windows are:

Chocolatey (https://chocolatey.org/)
Npackd (https://code.google.com/p/windows-package-manager/)
Scoop (http://scoop.sh/)
OneGet for Windows 10 (https://github.com/OneGet/oneget)


Share this article: