Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Homebrew

The following command will install homebrew for Linux or macOS systems:

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

To install the Homebrew packages, ensure ansible is installed and create a file to apply your customizations. Homebrew is the default tool provider.

Base Example Yaml Config(brew.yml):

---
tool_provider: "homebrew"

Now use ansible-pull to install the Homebrew packages:

ansible-pull -U https://github.com/pbonh/ars.git ars.yml --tags "install" -e "@brew.yml"

Optional Git-Enabled Example Yaml Config(brew-git.yml):

---
tool_provider: "homebrew"
dev_machine: true
git_name: "Your Name"
git_email: "your_name@address.com"
github_username: "username"

Apply optional Git/SSH + Git tooling config:

ansible-pull -U https://github.com/pbonh/ars.git dev.yml -e "@brew-git.yml"