TerminusDB is an open-source knowledge graph database with git-like version control. Branch, merge, diff and time-travel query your data with Datalog.
What makes it different
- Knowledge graph version control — branch, diff and merge your data. Work on a branch, review the structural diff, merge it back — the git workflow, applied to graph documents.
- Audit trail built in. Every write is an immutable commit. Time-travel to any point; nothing is ever overwritten.
- Small and fast. Succinct, auto-indexed immutable database structures keep the footprint tiny and queries quick — the whole database runs in a single Docker container.
Quickstart in 5 minutes
docker run --pull always -d -p 127.0.0.1:6363:6363 \
-v terminusdb_storage:/app/terminusdb/storage \
--name terminusdb terminusdb/terminusdb-server:v12Then clone a ready-made dataset and diff your first branch: First 10 minutes →
Installation
Step-by-step guides to setting up your system and installing the library.
Query unification
Learn about the core differentiator of the query engine: query variable unification.
TerminusDB Open Source
Learn more about the Apache 2.0 licensed TerminusDB database.
Documents and Git-for-Data
Learn about the RDF Graph Documents API and Git-for-Data features.
Community
Join the TerminusDB Community on Discord.
More ways to connect: GitHub.
TerminusDB is open source and free to use under the Apache 2.0 license. Get started with the open source community version on your own computer, by getting started with Docker.
TerminusDB is maintained and offered by Gettier since 2025. We provide the simplest way for subject matter experts to build AI-ready, defensible data foundations. Gettier is a proof layer powered by TerminusDB. We offer Enterprises what they need to run TerminusDB data foundations in production, with or without the Gettier proof layer.

