carapace-sh/carapace
A multi-shell completion library. observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 12
- age_days: 2360
- days_rel: 7
- days_push: 7
- n_releases_24m: 48
Adoption not part of the score
1427 stars · 37 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Carapace is a Go library and binary for generating command argument completions across many shells, including Bash, Zsh, Fish, PowerShell, Nushell, Elvish, Xonsh, and more. It integrates tightly with the Cobra CLI framework and also supports custom specs and bridging other completion frameworks.
Use cases
- add tab completion to a cobra CLI for bash and zsh
- generate shell completions for multiple shells from one spec
- write custom completion specs for existing commands
- bridge completions from other frameworks
- add completions for nushell and elvish
When to choose
- you build Go CLIs with cobra and want rich multi-shell completions
- you need one completion definition that works across many shells
- you want to add completions for commands you don't control via custom specs
When to avoid
- your CLI is not written in Go and you don't want to ship a completion binary
- you only need a single shell and prefer that shell's native completion system
- you need Cmd, Ion, or Tcsh support, which are still experimental
Facets
library · maturity active
cli developer-tools plugin-system developer-tools windows go cli shell-completion cobra bash zsh fish nushell powershell elvish xonsh completion-generator command-line linux macos
2 sources
- readme: https://github.com/carapace-sh/carapace · fetched 2026-08-28 · 7d61e028e491
- homepage: https://carapace.sh · fetched 2026-08-29 · 1bd3b6062681
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| carapace-sh/carapace | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="carapace-sh/carapace")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem