Download DocumentDB

Choose Docker for the fastest local setup, or Linux packages for PostgreSQL extension installs. The generated package commands configure the PostgreSQL dependency repositories and install the DocumentDB extension package.

GPG Signed PackagesDocker + Linux PackagesAMD64 + ARM64

1. Choose your install method

2. Copy and run this command

Docker
docker run -dt --name documentdb \
  -p 10260:10260 \
  ghcr.io/documentdb/documentdb/documentdb-local:latest \
  --username <YOUR_USERNAME> \
  --password <YOUR_PASSWORD>

Starts DocumentDB locally on port 10260 for quick evaluation and development.

Full package catalog (all supported combinations)
FormatDistributionsArchitecturesPostgreSQL versionsPackage naming
APTUbuntu 22.04/24.04, Debian 11/12/13amd64, arm6416, 17, 18 (Debian 11: 16, 17)postgresql-<pg>-documentdb
RPMRHEL-compatible 8/9 (tested on Rocky Linux)x86_64, aarch6416, 17, 18postgresql<pg>-documentdb

Use Package Finder above to generate the exact command for your selected target instead of scanning all combinations manually.

Debian 13 packages are available in the deb13 APT component and remain downloadable as direct .deb assets from GitHub Releases.

Version pinning and listing available versions

Use the commands below to discover available versions before pinning. Replace <VERSION> with the version string shown by the list command (e.g. 0.111-0 for APT, 0.111.0-1.el9 for RPM).

APT — list then pin

apt-cache madison postgresql-16-documentdb
sudo apt install postgresql-16-documentdb=<VERSION>

RPM — list then pin

dnf --showduplicates list postgresql16-documentdb
sudo dnf install postgresql16-documentdb-<VERSION>

See all releases and release notes on GitHub Releases.

Direct package downloads

Individual .deb and .rpm files are attached to each release on GitHub. Recent release examples:

ubuntu22.04-postgresql-18-documentdb_0.111-0_amd64.deb
deb13-postgresql-18-documentdb_0.111-0_amd64.deb
rhel9-postgresql18-documentdb-0.111.0-1.el9.x86_64.rpm

Swap the distribution, PostgreSQL version, architecture, and version string to match the exact asset you need.

Browse releases on GitHub →
Troubleshooting quick checks
sudo apt update && apt search documentdb && apt-cache policy postgresql-16-documentdb
sudo dnf clean all && dnf search documentdb && rpm -qi postgresql16-documentdb

3. Connect and try it

Docker starts a gateway-backed local endpoint on port 10260. Linux packages install the PostgreSQL extension; the Linux package guide adds the extra source-gateway steps needed when you want a host install that still exposes a MongoDB-compatible endpoint.