LinuxCommandLibrary

bbrew

CLI tool for searching Homebrew and Linuxbrew formulae and casks

TLDR

Search for a formula
$ bbrew search [query]
copy
Search with descriptions hidden
$ bbrew search --no-desc [query]
copy
Search formulae only (exclude casks)
$ bbrew search --no-casks [query]
copy
Search casks only (exclude formulae)
$ bbrew search --no-formulae [query]
copy
Display help
$ bbrew --help
copy

SYNOPSIS

bbrew search [options] [query]

DESCRIPTION

bbrew is a command-line tool that provides a faster way to search Homebrew and Linuxbrew package repositories. Rather than invoking the local Homebrew installation, it queries the formulae.brew.sh API directly, fetching metadata for both core formulae and casks. Results are filtered client-side with case-insensitive matching against package names, aliases, and descriptions.
Built with Node.js and the oclif CLI framework, bbrew supports both macOS (Homebrew) and Linux (Linuxbrew). On macOS, cask searching is enabled by default. The tool uses file-based caching via keyv to speed up repeated queries by avoiding redundant API calls.

PARAMETERS

-h, --help

Show help information
-d, --desc
Show formula descriptions in results (enabled by default)
-c, --casks
Include cask results (enabled by default on macOS)
-f, --formulae
Include formulae results (enabled by default)

CAVEATS

The tool does not manage or install packages. It is a search-only interface that queries the Homebrew API. Requires Node.js to be installed. The project is at version 0.0.1 and has minimal documentation.

SEE ALSO

brew(1), npm(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard