Skip to content

Instantly share code, notes, and snippets.

@tiagocesar
Last active May 2, 2024 08:32
Show Gist options
  • Save tiagocesar/0fb9ed28417a2905b504cb55dd6212a3 to your computer and use it in GitHub Desktop.
Save tiagocesar/0fb9ed28417a2905b504cb55dd6212a3 to your computer and use it in GitHub Desktop.
Brewfile - check comments on how to install and generate
tap "cantino/mcfly"
tap "derailed/k9s"
tap "homebrew/bundle"
tap "homebrew/services"
brew "colordiff"
brew "flyctl"
brew "git"
brew "glow"
brew "helix"
brew "hey"
brew "jd"
brew "jnv"
brew "jq"
brew "kind"
brew "kubernetes-cli"
brew "neovim"
brew "tree"
brew "cantino/mcfly/mcfly"
brew "derailed/k9s/k9s"
cask "1password"
cask "anki"
cask "docker"
cask "iterm2"
cask "maccy"
cask "rectangle"
cask "slack"
cask "visual-studio-code"
@tiagocesar
Copy link
Author

tiagocesar commented Apr 12, 2024

bundle [subcommand]
Bundler for non-Ruby dependencies from Homebrew, Homebrew Cask, Mac App Store, Whalebrew and Visual Studio Code.

   brew bundle [install]
          Install and upgrade (by default) all dependencies from the Brewfile.

          You can specify the Brewfile location using --file or by setting the HOMEBREW_BUNDLE_FILE environment variable.

          You can skip the installation of dependencies by adding space-separated values to one or more of the following environment variables: HOMEBREW_BUNDLE_BREW_SKIP, HOMEBREW_BUNDLE_CASK_SKIP, HOMEBREW_BUNDLE_MAS_SKIP, HOMEBREW_BUNDLE_WHALEBREW_SKIP, HOMEBREW_BUNDLE_TAP_SKIP.

          brew bundle will output a Brewfile.lock.json in the same directory as the Brewfile if all dependencies are installed successfully. This contains dependency and system status information which can be useful for debugging brew bundle failures and replicating a “last known good build” state. You can opt-out of this behaviour by setting the HOMEBREW_BUNDLE_NO_LOCK environment variable or passing the --no-lock option. You may wish to check this file into the same version control system as your Brewfile (or ensure your version control system ignores it if you’d prefer to rely on debugging information from a local machine).

   brew bundle dump
          Write all installed casks/formulae/images/taps into a Brewfile in the current directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment