Skip to content

Installation

Requirements

  • Python 3.10 or later

Install from source

git clone https://github.com/duriantaco/ca9.git
cd ca9
pip install .

This installs the core library. The only required runtime dependency is packaging, which ca9 uses for PEP 440 version comparison.

Install with CLI support

The CLI requires click:

pip install ".[cli]"

Development install

pip install ".[dev]"
pre-commit install

Or use the Makefile:

make dev

This installs all development dependencies (pytest, ruff, tox, pre-commit, skylos) and sets up pre-commit hooks.

Verify installation

ca9 --help

You should see:

Usage: ca9 [OPTIONS] COMMAND [ARGS]...

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  action-plan   Generate a machine-readable action plan for CI/CD...
  capabilities  Scan repository for AI capabilities...
  check         Analyze an SCA report for reachability.
  scan          Scan repository dependency versions via OSV.dev.