# Carapace

> A single binary providing argument completion for many CLI commands across Bash, Zsh, Fish, Nushell, Elvish, PowerShell, Xonsh and other shells.

Stars: 2.0k · Language: Go · License: MIT · Categories: Shell

- Repository: https://github.com/carapace-sh/carapace-bin
- Website: https://carapace.sh
- Page: https://www.trmn.sh/tools/carapace-bin

## Overview

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

- [pet](https://www.trmn.sh/tools/pet.md): 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. (Go, 5.4k stars)
- [up](https://www.trmn.sh/tools/up.md): Interactive terminal UI for building Linux pipelines with live preview of command results (Go, 8.9k stars)
- [shfmt](https://www.trmn.sh/tools/shfmt.md): 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. (Go, 9.2k stars)
- [direnv](https://www.trmn.sh/tools/direnv.md): Shell extension that automatically loads and unloads environment variables based on current directory (Go, 15.6k stars)
- [gum](https://www.trmn.sh/tools/gum.md): CLI tool providing interactive components for shell scripts with input prompts, menus, spinners, and styling (Go, 24.6k stars)

---

Canonical: https://www.trmn.sh/tools/carapace-bin
