bash-completion@2 for Mac
Programmable completion for Bash 4.2+
brew install bash-completion@2. It is distributed under the GPL-2.0-or-later licence. Homebrew recorded 960 installs in the last 30 days. What is bash-completion@2?
bash-completion@2 is a macOS command-line tool: Programmable completion for Bash 4.2+.
It is distributed as a Homebrew formula, which builds or unpacks binaries onto your PATH. This project is open source; the code is at https://github.com/scop/bash-completion.
How to install bash-completion@2
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed, run the install command below first.
- Run
brew install bash-completion@2.
Install Homebrew first if needed:
Similar apps in Command-Line Tools
The closest apps in the same category, ranked by description similarity and installs. They are related tools, not confirmed drop-in replacements; see the hand-picked comparison pages for a head-to-head view.
Frequently asked questions
How do I install bash-completion@2 on a Mac?
Run brew install bash-completion@2 in Terminal. This requires Homebrew; install it first with the command below if needed.
Is bash-completion@2 open source?
Yes — Homebrew distributes it under the GPL-2.0-or-later licence.
Does bash-completion@2 run on Apple silicon?
Homebrew provides this formula for macOS. If upstream does not publish an Apple silicon build, Rosetta 2 can run the Intel binary.
How popular is bash-completion@2?
Homebrew analytics recorded 960 installs in the last 30 days, ranking it #1062 in this catalogue.
What version of bash-completion@2 is current?
The latest packaged version is 2.18.0.
Data comes from the public Homebrew API, last updated 2026-10-27. Install counts only include Homebrew installs and are not total users.