The missing package manager for macOS


🏠 HOME








Homebrew is a utility which manages software packages on MacOS. It main use is to install software directly from the command line interface.

Homebrew


Installation

Homebrew requires Command Line Tools (CLT) for Xcode to be installed on your machine before running the install script:

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

Usage

Homebrew packages are called formulae: https://formulae.brew.sh/formula/

Install a package

$ brew install formula
# for example: brew install wget

Installing a package will automatically installed its required dependencies.

Under the hood, formula files are installed in /usr/local/Cellar and then symlinked to /usr/local.

More info about advanced usage can be found on https://docs.brew.sh/.

<aside> <img src="/icons/playback-previous_lightgray.svg" alt="/icons/playback-previous_lightgray.svg" width="40px" /> Mac OS X

</aside>

<aside> <img src="/icons/playback-next_lightgray.svg" alt="/icons/playback-next_lightgray.svg" width="40px" /> Unix shell

</aside>