Brew
brew_is_installed¶
Check whether one or more Homebrew packages are installed. Exits the process (exit 1) if brew itself is not found. Prints a status line for each package and returns 1 if any package is missing.
Arguments¶
- $1 (string): One or more package names (space-separated or multiple args)
Exit codes¶
- 0: All packages are installed
- 1: One or more packages are not installed, or brew is not found
Output on stdout¶
- One status line per package indicating installed or not