🍺 Rust · TUI + CLI · for Homebrew

Configure Homebrew
without editing
your shell profile.

Browse, filter and toggle every HOMEBREW_* environment variable from a fast terminal UI β€” then write a clean, idempotent block to your profile. Re-running never duplicates a thing.

$ brew install vincentlauriat/tap/homebrewconfig # …or: cargo install homebrewconfig

Free & open-source (MIT) Β· Rust 1.70+ Β· macOS & Linux Β· zsh / bash / fish

# features

Every Homebrew knob, in one place

22 settings across Privacy, Updates, Display, Directories, Tools, Security and Network β€” discoverable, documented and safe to change.

πŸŽ›οΈ

All in one view

Browse and edit every Homebrew environment variable, each with its default value shown.

πŸ”

Instant filter

Press / to match by name, variable, category or description as you type.

♻️

Idempotent writes

Writes a clean BEGIN/END block to your profile β€” re-running never duplicates exports.

🐚

Shell auto-detection

Finds the right profile for zsh, bash or fish, preferring the file that already holds your block.

πŸ€–

Scriptable CLI

--set, --apply, --dry-run, --list and --json run with no TUI at all.

πŸ“¦

Shareable presets

Export your config to a TOML preset and re-apply it on another machine, forward-compatible by design.

🎨

Themes

Cycle colour themes with t β€” brew, midnight, forest, rose, mono β€” remembered across runs.

πŸ›Ÿ

Safe by default

Backs up the previous profile to .bak and previews the exact block before writing.

πŸ“–

Man page & completions

Ships a man page plus bash, zsh and fish completions.

// how it works

One block. Nothing else touched.

Press a and homebrewconfig writes a single marked block to your shell profile. Run it again and only that block changes β€” the rest of your file is left exactly as it was. Delete the block to remove every managed setting at once.

# homebrewconfig BEGIN
# Generated by homebrewconfig β€” do not edit manually

# Privacy
export HOMEBREW_NO_ANALYTICS=1

# Updates
export HOMEBREW_CLEANUP_MAX_AGE_DAYS=30
# homebrewconfig END

get started

Install in one line

Needs Rust 1.70+ and a 256-color terminal. Works on macOS and Linux.

Install

brew install vincentlauriat/tap/homebrewconfig β€” or cargo install homebrewconfig.

Run

Launch homebrewconfig; it auto-detects your shell profile.

Apply

Toggle with Space, then press a β€” review the preview and confirm.

ready?

Tidy up your Homebrew setup

Free, open-source, scriptable. macOS & Linux, any of zsh / bash / fish.