Carapace
A single binary providing argument completion for many CLI commands across Bash, Zsh, Fish, Nushell, Elvish, PowerShell, Xonsh and other shells.
Carapace-bin is a multi-shell completion binary. It provides argument completion for a large set of CLI commands (the full list of completers is published in its documentation) and uses the same completion definitions across different shells, so users do not need separate completion scripts per shell.
It supports both POSIX and non-POSIX shells: Bash, Elvish, Fish, Nushell, Oil, PowerShell, Xonsh and Zsh, plus experimental support for Cmd, Ion and Tcsh. The README also links to documentation for macros, a package listing on Repology, and a Go package (pkg/actions) for building completions.
The tool is aimed at developers and shell users who work in more than one shell, or in a less common one such as Elvish, Nushell or Xonsh, and want consistent command-line completion. The README points to separate Install and Setup pages for per-shell configuration.
Alternatives & related tools
pet
Command-line snippet manager written in Go. Save, tag, search, and run shell command snippets with parameters, stored in TOML and synced via Gist or GitLab.
up
Interactive terminal UI for building Linux pipelines with live preview of command results
shfmt
Shell script formatter built on a Go parser for POSIX sh, Bash, Zsh and mksh. The same repo ships a syntax package, shell helpers and an interpreter.
direnv
Shell extension that automatically loads and unloads environment variables based on current directory
gum
CLI tool providing interactive components for shell scripts with input prompts, menus, spinners, and styling
add a badge to your README
Maintain Carapace? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/carapace-bin?utm_source=badge)<a href="https://www.trmn.sh/tools/carapace-bin?utm_source=badge"><img src="https://www.trmn.sh/badge/carapace-bin.svg" alt="Featured on trmn" height="20"></a>