bash
Install command:
brew install bashBourne-Again SHell, a UNIX command interpreter
https://www.gnu.org/software/bash/
License: GPL-3.0-or-later
Development: Pull requests
Formula JSON API: /api/formula/bash.json
Formula code: bash.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 5.3.20 |
| head | ⚡️ | HEAD |
Patches:
Depends on:
| ncurses | 6.6 | Text-based UI library |
| readline | 8.3.6 | Library for command-line editing |
| gettext | 1.0 | GNU internationalization (i18n) and localization (l10n) library |
Binaries:
bash,
bashbug
| DEFAULT_LOADABLE_BUILTINS_PATH: $HOMEBREW_PREFIX/lib/bash:/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. |
GitHub Packages downloads:
| Last 30 days | 1,252,133 |
|---|---|
| Downloads | 22,853,963 |
| Analytics install events (30 days) | 43,791 |
| Downloads / install events (30 days) | 28.6× |
Source: GitHub Packages, fetched 2026-11-03T00:38:52Z. Analytics dates: 2026-10-04 to 2026-11-03. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 43,754 | 107,831 | 408,660 |
Installs (--HEAD) | 37 | 87 | 378 |
| Installs on Request | 31,374 | 77,952 | 271,053 |
Installs on Request (--HEAD) | 37 | 86 | 377 |
| Build Errors | 28 |