Homebrew

The missing package manager for Linux -- most tools are installed via brew

Quick summary

Homebrew is a package manager that started on macOS and now fully supports Linux (Linuxbrew). It installs packages to /home/linuxbrew/.linuxbrew and keeps them isolated from system packages. The bootstrapper uses Homebrew as the primary package manager for all developer tools.

Common tasks

Basic Usage

brew install gh

Basic Usage

brew search gh

Basic Usage

brew update && brew upgrade

Basic Usage

brew list

What is it?

Homebrew is a package manager that started on macOS and now fully supports Linux (Linuxbrew). It installs packages to /home/linuxbrew/.linuxbrew and keeps them isolated from system packages. The bootstrapper uses Homebrew as the primary package manager for all developer tools.

Basic Usage

Install a package:

$brew install gh

Search for packages:

$brew search gh

Update all packages:

$brew update && brew upgrade

List installed packages:

$brew list

Check for outdated packages:

$brew outdated

Get info about a package:

$brew info gh

Tips

brew formulas are updated frequently. Run brew update once a week to stay current.
Use brew doctor if something isn't working.
The bootstrapper adds brew to /.profile and /.bashrc.