homebrew
Homebrew Errors
Exit codes and exception types raised by Homebrew, the package manager for macOS and Linux. Homebrew installs, updates, and manages formulae and casks.
6 codes
· All codes 6 codes
- 0 Success The Homebrew command completed without error. The requested formula or cask was installed, upgraded, or otherwise processed successfully.
- 1 Homebrew Error The Homebrew command failed. This is the generic failure exit code for Homebrew; the actual exception class and message appear above it in the output. Common causes include formula not found, build failure, or a network error fetching the bottle.
- BuildError Build Error Compilation of a formula from source failed. This typically occurs when building a bottle is not available for your platform, a required build dependency is missing, or the upstream source code has an incompatibility with the current toolchain. The build log path is printed for further diagnosis.
- DownloadError Download Error Homebrew could not download the bottle, source tarball, or other resource needed to install or build a formula. Common causes are a network outage, an invalid checksum, or a URL that has changed since the formula was last updated. Running `brew update` may resolve stale URLs.
- FormulaUnavailableError Formula Unavailable The requested formula could not be found in any tapped repository. Check the formula name for typos, or run `brew update` to refresh the formula list. If the formula was recently removed, it may have been migrated to a different tap.
- TapUnavailableError Tap Unavailable The requested tap could not be found or accessed. Verify that the tap name is correct (format: `user/repo`) and that the remote repository is reachable. Run `brew tap` to list currently installed taps.