Skip to content

Installation

Requirements

  • Python 3.13+
  • Bash 4+

Bash 4+ is required because the generated runtime uses associative arrays.

Install from PyPI

pip install argcomplete-snapshot

This also works inside a Conda environment if you prefer managing Python with Conda but install Python packages with pip.

Install from a checkout

For local development:

uv sync

For benchmark dependencies:

uv sync --group bench

For documentation tooling:

uv sync --group docs

Build the docs locally

make docs

Serve them locally with live reload:

make docs-serve

Build package artifacts

uv build

Compatibility notes

  • The generated completion runtime targets Bash only.
  • Dynamic resolvers require an explicit fallback command.
  • The package is intentionally optimized for CLIs that already use argparse.