Install the CLI
Installing the package puts a command named aisupport-build on your PATH.
You need Python 3.11 or newer.
Get the zip from Downloads. Unzip it, then install from that folder. You do not need a virtualenv in each product you scan.
1. Download
- Open Downloads and download the knowledge builder zip.
- Extract it. You should see
pyproject.tomland anexamples/folder.
2. Recommended: pipx
pipx is the usual way to install a Python CLI. It creates an isolated environment for the tool so you install once and use it from any project.
- Install Python 3.11+ if you do not already have it.
- Install pipx (for example
pip install pipx, or your OS package manager). - In a terminal, go to the extracted folder and install:
cd path/to/extracted-folder
pipx install .
Check that the command exists:
aisupport-build --help
Alternative: venv + pip
If you prefer not to use pipx:
cd path/to/extracted-folder
python -m venv .venv
# Windows
.venv\Scripts\activate
# macOS / Linux
source .venv/bin/activate
pip install .
aisupport-build --help
With this option, run aisupport-build from a shell where that venv is
activated (or use the full path to the script inside .venv).
What you do not need
- Do not install this as a dependency of your product. Install the CLI once on the machine (or CI runner) that will scan source.
- Do not create a new virtualenv inside every codebase you document. Point
--dirat each project instead.
After install, configure .aisupport/ and run the builder.