If your terminal is a little too full of Homebrew installs, and youâre tired of forgetting whatâs actually important, this is for you.
đş The Problem
Ever run brew list
and felt a wave of guilt?
âWait, do I even use half of these? Why is that still installed?â
Worse, have you ever needed to:
- Onboard a teammate and document your dev setup?
- Move to a new Mac and wish you could just âimport your toolsâ (without 100+ random things)?
- Prove to security/audit teams whatâs actually on your machine?
Me too. Thatâs why I built brew_brain
âââa Bash-powered Homebrew arsenal manager that tracks what matters, documents it, and lets you export or audit your toolkit in seconds.
đ What brew_brain
Actually Does
-
Track only what matters:
Add
"track": "true"
in your arsenal JSON to focus on your must-have CLIs. -
Instant health checks:
brew_brain checkup
tells you whatâs missing, outdated, or gathering dust. - Templated Markdown & JSON output: Generate clean, team-friendly docs (thanks, .tpl files!) or export pretty JSON for backups or onboarding.
-
One-liner installs:
If youâre missing a tool,
brew_brain
will even suggest (or run) the rightbrew install
.
đ ď¸ How to Use It
-
Clone or drop in $PATH:
Just grab the script, put it in your
$PATH
, and youâre set. -
Configure your arsenal:
Your Homebrew arsenal lives in a simple JSON file (
~/.brew_brain.json
). Only âtrackedâ tools get included in audits or docs. -
Audit & document with a single command:
-
brew_brain
â Markdown summary -
brew_brain checkup
â Health check -
brew_brain --output json --output-file arsenal
â Export for backup/onboarding -
brew_brain --dump --filter=raymonepping --output=my_brews.json
â Full, pretty, filtered export
-
Bonus: Markdown docs use your own .tpl
template files, so you can make the docs fit your style or team branding.
âĄď¸ Real-World Uses
- Team onboarding: Ship a single JSON config and every dev has the same CLI arsenal in minutes.
- Compliance or âworks on my machineâ: Export a clear, timestamped doc of exactly whatâs installed.
- Disaster recovery/migration: Moving to a new Mac? Grab your arsenal JSON and re-create your setupâminus the cruft.
đ¤ Why Not Just Use brew list
?
Because brew list
is just a list.
brew_brain
is an arsenalâtracked, documented, exportable, and team-ready.
You control what gets tracked, how itâs output, and how itâs shared.
Plus, you get Markdown docs that look⌠actually decent.
đ§âđť Try It!
Install, track, document, and ship your toolkit like it actually matters.
Top comments (0)