Homebrew Management
Commands
- •
/brew- Show status - •
/brew status- List outdated packages - •
/brew update- Update and upgrade all - •
/brew add <package>- Add to Brewfile - •
/brew cleanup- Remove old versions
Brewfiles
| File | Purpose | When Installed |
|---|---|---|
~/.dotfiles/Brewfile.shared | Core dev tools | All machines |
~/.dotfiles/home/Brewfile | Personal apps | Home machine only |
To Show Status (/brew or /brew status)
bash
brew outdated
To Update (/brew update)
bash
brew update && brew upgrade
To Add Package (/brew add <package>)
- •Determine if shared or home-only
- •Add to appropriate Brewfile:
- •Formula:
brew "package-name" - •Cask:
cask "app-name"
- •Formula:
- •Run:
brew bundle --file=<brewfile>
To Cleanup (/brew cleanup)
Note: Cleanup is mainly intended for home machines. On work machines, other tools may manage packages.
bash
brew cleanup
Current Core Tools (Brewfile.shared)
- •git, neovim, mise
- •zsh, starship
- •ripgrep, fd, fzf, bat
- •lazygit, gh, jq
- •ghostty, font-inconsolata-nerd-font