🍺 BREW Explorer

← all formulae

bash

brew install bash v5.3.15 GPL-3.0-or-later

UNIX shell interpreter and command language implementing POSIX sh with extensions.

Why you might care

Bash is the de facto standard interactive shell on Linux and macOS, widely used for scripting and system administration. Install via Homebrew for a newer version than the system default (often outdated on macOS for licensing reasons). Essential if you need modern bash features, bug fixes, or consistent behavior across machines.

Categories

Alternatives

zsh ksh dash fish
54.9k
30-day installs · #115
107.0k
90-day · #175
403.6k
365-day · #174

Runtime dependencies

Links

Caveats

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:.

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "zsh",
    "ksh",
    "dash",
    "fish"
  ],
  "build_dependencies": [],
  "categories": [
    "shell",
    "interpreter",
    "sysadmin"
  ],
  "caveats": "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:.",
  "conflicts_with": [],
  "dependencies": [
    "ncurses",
    "readline",
    "gettext"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Bourne-Again SHell, a UNIX command interpreter",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:35:46+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "bash",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://www.gnu.org/software/bash/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "Bash - GNU Project - Free Software Foundation",
  "installs_30d": 54892,
  "installs_365d": 403572,
  "installs_90d": 107001,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "GPL-3.0-or-later",
  "llm_generated_at": "2026-06-20T23:42:48+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "bash",
  "oldnames": [],
  "one_liner": "UNIX shell interpreter and command language implementing POSIX sh with extensions.",
  "optional_dependencies": [],
  "rank_30d": 115,
  "rank_365d": 174,
  "rank_90d": 175,
  "raw_hash": "a2c5c685f616f4e5",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/b/bash.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "5.3.15",
  "versioned_formulae": [],
  "why_use_this": "Bash is the de facto standard interactive shell on Linux and macOS, widely used for scripting and system administration. Install via Homebrew for a newer version than the system default (often outdated on macOS for licensing reasons). Essential if you need modern bash features, bug fixes, or consistent behavior across machines."
}