brewx is a single Rust binary that runs Homebrew executables on demand.
It resolves the executable to a Homebrew formula using an embedded
db.json, installs the formula if needed, and then execs the requested
tool.
brewx deno --helpWe’re a single rust binary published to GitHub releases so use yoink:
$ sh <(https://yoink.sh) mxcl/brewx
installed: ~/.local/bin/brewx
# the yoink one-liner installs the latest brewx and that's itAlternatively download from the releases page.
Why not pkgx? Honestly I think pkgx is a better choice for many uses
including giving your agents access to open source tooling. However if
you already are a big Homebrew user, this is a natural next step instead
of pkgx.
We install everything including deps without symlinks (brew supports this),
thus your /opt/homebrew/bin remains what it was before.
Upgrades will still work etc.