Skip to main content

Installation

Ahnlich ships two services — the DB engine (ahnlich-db) and the AI proxy (ahnlich-ai) — plus an interactive CLI (ahnlich-cli). Pick the install method that fits your environment; the tabs below stay in sync across the page.

Best for isolated sandboxes, CI, and quick testing — the only dependency is Docker.

Pull the latest official images:

docker pull ghcr.io/deven96/ahnlich-db:latestdocker pull ghcr.io/deven96/ahnlich-ai:latest

Run both services with their default ports (DB → 1369, AI → 1370):

docker run -d --name ahnlich-db -p 1369:1369 ghcr.io/deven96/ahnlich-db:latestdocker run -d --name ahnlich-ai -p 1370:1370 ghcr.io/deven96/ahnlich-ai:latest
tip

For advanced setups — tracing, persistence, and model caching — use the example docker-compose.yml in the main repository.

Which method should I use?

MethodExternal dependenciesBest forUpgrade workflow
DockerDocker onlyIsolated sandbox, CI, testingdocker pull ghcr.io/deven96/ahnlich-*
Official binariesNone (just a download tool)Servers without Rust or DockerDownload updated files from Releases
Source (Cargo)Rust toolchainCustom builds, contributionsgit pull && cargo build

Post-installation checklist

  • Permissions — for binaries, add execution rights with chmod +x <binary>.
  • Portsahnlich-db defaults to 1369, ahnlich-ai to 1370. Override with the --host and --port flags.
  • Upgrades — keep each install method up to date:
    • Docker — pull the :latest tag.
    • Binaries — download again from the Releases page.
    • Source — run git pull && cargo build.
Next step

With the services running, head to the Quickstart to create your first store and run a semantic search.

Uninstalling

docker compose down -vdocker rmi ghcr.io/deven96/ahnlich-ai:latest ghcr.io/deven96/ahnlich-db:latest