Skip to content

Homebrew

Homebrew provides package management for graphical applications in the environment. It does this through a versioned Bundle file that is tracked by Chezmoi.

Resources

Install

Run the installer script:

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

To download and install the bundle subcommand, invoke it at least once:

brew bundle

Uninstall

Run the uninstaller script:

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

Usage

Adding applications

The configuration file is managed by Chezmoi and can be edited with:

chezmoi edit .brew

The format is straight-forward:

cask "<app name>"

Some casks might require an additional tap:

tap "owner/repo"

Once added:

chezmoi apply && brew bundle install

Don't forget to commit any changes!

Upgrading applications

The install subcommand will also update applications:

brew bundle install