Codumentor logo Codumentor Enterprise

Installation

Follow the steps below to get Codumentor running locally.

Prerequisites

Download

Download the build for your platform from the releases page: the Linux x86_64 installer (codumentor-<version>-<edition>-linux-x86_64.run) or Windows (codumentor.exe). The Linux installer is one file: run it (sh codumentor-….run) and it installs that version under ~/.local/share/codumentor, links ~/.local/bin/codumentor, and starts it. Later starts use codumentor. To install somewhere else, for example on a filesystem mounted noexec, set CODUMENTOR_PREFIX=/path/to/dir. Running an older installer starts that version once and leaves the newer one as the default. For a server install see the self-hosting walkthrough; for the container image see Deployment.

Verifying the download

Each installer has a detached signature next to it (<file>.minisig), made with the Codumentor release key. The releases page publishes that public key as codumentor.pub. An installer cannot vouch for itself, so check it with minisign before the first run:

minisign -V -p codumentor.pub -m codumentor-<version>-<edition>-linux-x86_64.run

minisign prints Signature and comment signature verified and a trusted comment that names the file. Any other output means the file is not the one we published: do not run it. minisign is packaged for most Linux distributions and for Windows (Scoop, Chocolatey, or the release zip). You need this check only for the first install. Later updates are verified inside Codumentor with the same key; see Updates.

Initial Configuration

On the first run (TUI launch or ingest command), when no codumentor.yaml is found, Codumentor will prompt you to create a sample configuration file. You can also manually create one as shown in the Configuration guide.

Environment Variables

At minimum Codumentor needs an API key for embeddings and/or chat completion.

# Single key for everything
export OPENAI_API_KEY="sk-..."

Optionally use separate keys (useful when your provider does not offer embeddings):

export OPENAI_EMBEDDING_API_KEY="sk-embedding-..."
export OPENAI_AGENT_API_KEY="sk-agent-..."

Once installed, continue with the Configuration guide.