Brew

Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn’t include with macOS. It can also install software not packaged for your Linux distribution to your home directory without requiring sudo.

Installation

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Usage

brew search TEXT|/REGEX/
brew info [FORMULA|CASK...]
brew install FORMULA|CASK...
brew update
brew upgrade [FORMULA|CASK...]
brew uninstall FORMULA|CASK...
brew list [FORMULA|CASK...]

Flags

Troubleshooting:
  brew config
  brew doctor
  brew install --verbose --debug FORMULA|CASK

Further help:
  brew commands
  brew help [COMMAND]
  man brew
  https://docs.brew.sh

Examples

Install formula

brew install [FORMULA]

Uninstall formula

brew uninstall [FORMULA]

Fetch latest version of homebrew and formula

brew update

Upgrade all outdated and unpinned brews

brew upgrade

List installed formulas

brew list

Search formulas

brew search [text|/text/]

Change analytic settings

crypt0rr@mba ~ % brew analytics
Analytics are enabled.
UUID: [REDACTED]

Disable analytics

brew analytics off     
crypt0rr@mba ~ % brew analytics
Analytics are disabled.

URL List