Linux command
bbrew 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Search for a formula
bbrew search [query]
Search with descriptions hidden
bbrew search --no-desc [query]
Search formulae only
bbrew search --no-casks [query]
Search casks only
bbrew search --no-formulae [query]
Display help
bbrew --help
说明
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.
参数
- search _query_
- Search for formulae and casks matching the query.
- -h, --help
- Show help information.
- -d, --desc / --no-desc
- Show or hide formula descriptions in results (shown by default).
- -c, --casks / --no-casks
- Include or exclude cask results (included by default on macOS).
- -f, --formulae / --no-formulae
- Include or exclude formulae results (included by default).
FAQ
What is the bbrew command used for?
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.
How do I run a basic bbrew example?
Run `bbrew search [query]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does search _query_ do in bbrew?
Search for formulae and casks matching the query.