Skip to content
/ brewx Public

`npx` for `brew`

Notifications You must be signed in to change notification settings

mxcl/brewx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brewx

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.

Usage

brewx deno --help

Installation

We’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 it

Alternatively download from the releases page.

Caveats

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.

About

`npx` for `brew`

Resources

Stars

Watchers

Forks

Sponsor this project

  •