Skip to content

Install brew packages using dotbot

License

Notifications You must be signed in to change notification settings

d12frosted/dotbot-brew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotbot brew plugin

macOS Ubuntu

Sponsor

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

DirectiveDescriptionPlatform
brewInstall packages via brew installmacOS, Linux
caskInstall applications via brew install --caskmacOS only
tapAdd Homebrew tapsmacOS, Linux
brewfileInstall packages from Brewfile(s)macOS, Linux
servicesStart services via brew services startmacOS, 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.

About

Install brew packages using dotbot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published

Contributors 11