Watch
1
0
Fork
You've already forked d12frosted_dotbot-brew
0
mirror of https://github.com/d12frosted/dotbot-brew synced 2026-12-01 07:53:25 +00:00
Install brew packages using dotbot
  • Python 88.4%
  • Shell 11.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
dependabot[bot] f0a63ae2d7 chore(deps): bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-19 09:21:53 +03:00
.github chore(deps): bump actions/checkout from 6 to 7 2026-06-19 09:21:53 +03:00
examples test: add services directive to macOS CI 2026-01-06 09:31:43 +02:00
.gitignore initial implementation 2016-06-27 10:06:10 +03:00
brew.py run brew update-if-needed 2026-01-25 09:12:12 +02:00
LICENSE chore: update copyright year to 2026 2026-01-06 08:14:45 +02:00
README.org chore: add sponsor badge and support section to README 2026-02-02 18:39:01 +02:00
test fix: correct variable order in test script 2026-01-06 09:31:17 +02:00

Dotbot brew plugin

Plugin for dotbot that adds brew, cask, tap, brewfile, and services directives. It allows installation of packages using Homebrew on macOS and Linux. The cask directive is only supported on macOS. If brew is not installed, it will be automatically installed and configured.

Installation

Just add it as submodule of your dotfiles repository.

git submodule add https://github.com/d12frosted/dotbot-brew.git

Modify your install script, so it automatically enables brew plugin.

"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" --plugin-dir dotbot-brew -c "${CONFIG}" "${@}"

Usage

Directives

Directive Description Platform
brew Install packages via brew install macOS, Linux
cask Install applications via brew install --cask macOS only
tap Add Homebrew taps macOS, Linux
brewfile Install packages from Brewfile(s) macOS, Linux
services Start services via brew services start macOS, Linux

Example

In your install.conf.yaml use brew directive to list all packages to be installed using brew. The same works with cask, tap, brewfile, and services. For example:

- brewfile:
    - Brewfile
    - brew/Brewfile

- tap:
    - homebrew/services

- brew:
    - git
    - git-lfs
    - ripgrep

- brew: [gnupg, jq]

- cask: [vlc, firefox]

- services: [postgresql, redis]

Support

If you enjoy this project, you can support its development via GitHub Sponsors or Patreon.