Skip to content

PostgreSQL instance manager

pgcli Simplify PostgreSQL management

Using PostgreSQL databases as naturally as breathing. One command to create, manage, backup, clone, and replicate with isolated containers.

Key features

Everything you need

Instance Management

Create, start, stop, and destroy isolated PostgreSQL instances with one command.

Instance Management

Backup

Full, differential, and incremental snapshots with pgBackRest and a shared backup container.

Backup

Restore

Point-in-time recovery (PITR) to any moment after your first backup, with dry-run preview.

Restore

Replication

Create read-only replicas with WAL streaming, automatic slot management, and cascading replication.

Replication

Failover

3-step manual failover — promote a replica, clean up the old primary, and repoint remaining replicas.

Failover

Extensions

Install and manage 440+ PostgreSQL extensions from the Pigsty catalog, baked into container images.

Extensions

Clone

Stream-clone an instance or remote database into a new instance with no temporary files on disk.

Clone

Import & Export

Export and import databases in custom or SQL format, with gzip compression and piping between instances.

Import & Export

Exec & psql

Run SQL, container commands, or interactive psql sessions — locally or against remote databases via DSN.

Exec & psql

Administration

Shell completion, config management, PostgreSQL tuning, and instance rebuild for a fresh start.

Administration

Ready to get started?Install pgcli and create your first PostgreSQL instance in minutes.