Homebrew

Homebrew

Homebrew is a package manager for macOS, but it can also be used on Linux distributions.

Setup on macOS

Homebrew is required for the macOS setup to work and it will be installed automatically by the set up script.

The macOS playbooks are using Homebrew where possible to install packages on your environment.

Setup on Linux

The Linux setup also installs Homebrew on Linux using markosamuli.linuxbrew Ansible role. This was previously known as Linuxbrew.

Homebrew is installed to /home/linuxbrew/.linuxbrew using sudo. If you have installed Linuxbrew in your home directory at ~/.linuxbrew, the role will skip installing the shared version.

Run setup script with the linuxbrew tag to install Homebrew on Linux:

./setup -t linuxbrew

Troubleshooting

If you're having trouble getting Homebrew working, see the official Homebrew installation instructions for help.