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

  1. Open Downloads and download the knowledge builder zip.
  2. Extract it. You should see pyproject.toml and an examples/ 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.

  1. Install Python 3.11+ if you do not already have it.
  2. Install pipx (for example pip install pipx, or your OS package manager).
  3. 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 --dir at each project instead.

After install, configure .aisupport/ and run the builder.