brew search, brew info and brew install combined in brewi.
brewi.mp4
This script provides an enhanced, interactive command-line interface for managing Homebrew packages (formulae and casks). It streamlines the common workflow of searching for a package, viewing its information, and then installing it. brewi replaces brew search, brew info and brew install.
- Search for packages
- Immediately see the package info
- Install with
Enter - After an install attempt, you are presented with options to:
- Re-run the same search.
- Start a new search for a different package.
- Quit the script.
brew tap marijnbent/homebrew-interactive-install
brew install brewiOnce installed and (optionally) in your PATH or aliased:
- To start with an initial search term:
brewi <search_term>Example:
brewi httpieInside the script:
- Use arrow keys (↑↓) to navigate the search results in
fzf. - The right pane will show
brew infofor the highlighted package. - Press
Enteron a package in the list to directly install it.