Installation¶
Requirements¶
- Python 3.10 or later
Install from source¶
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:
Development install¶
Or use the Makefile:
This installs all development dependencies (pytest, ruff, tox, pre-commit, skylos) and sets up pre-commit hooks.
Verify installation¶
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.