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,289,162 |
|---|---|
| Downloads | 23,851,880 |
| Analytics install events (30 days) | 40,634 |
| Downloads / install events (30 days) | 31.7× |
Source: GitHub Packages, fetched 2026-11-24T00:50:50Z. Analytics dates: 2026-10-25 to 2026-11-24. 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 | 40,610 | 112,711 | 421,496 |
Installs (--HEAD) | 24 | 82 | 382 |
| Installs on Request | 28,684 | 80,910 | 281,279 |
Installs on Request (--HEAD) | 24 | 81 | 381 |
| Build Errors | 12 |