pigsty install guide

Get pigsty on macOS and Linux Now!

Enterprise-Grade OSS PostgreSQL Distribution with HA, PITR, IaC, Monitor, 12 kernel forks and 575 PG extensions. Best-of-breed products integrated as a platform. Self-host Postgres like a Pro!

pigsty one-command setup card, platform, for macOS and Linux, 5.7k stars on the project's repository
★ 5.7k stars macOS and Linux README verified

Get pigsty with one command

Pick your system, reveal the step-by-step guide, copy the command, paste it into your terminal and press Enter. This command was taken from the project's own documentation and checked against it.

PowerShell not published

What pigsty does

  • Reliable: Self-healing HA clusters with pre-configured PITR and built-in ACL, CA & SSL secure best practice
  • Scalable: Auto-routed & pooled customizable database Services Access with haproxy, pgbouncer, and VIP
  • Maintainable: One-Cmd Deploy, Admin SOP, Auto-Tune, Local Repo, IaC and Vagrant / OpenTofu support, with Terraform compatibility
  • Controllable: Self-sufficient Infra Closure, Cloud Neutral FOSS. Run on bare Linux without Docker & K8S
  • Extensible: 575 PG Extensions & 12 PG Kernels available, Packed for 16 Linux Platforms, Battery-Included
  • Observable: SOTA monitoring for PG / Infra / Node based on the Victoria & Grafana stack: Demo & Gallery

Summarised from pigsty's own README.

About pigsty

Enterprise-Grade OSS PostgreSQL Distribution with HA, PITR, IaC, Monitor, 12 kernel forks and 575 PG extensions. Best-of-breed products integrated as a platform. Self-host Postgres like a Pro!

CategoryPlatform
Install methodshell one-liner (curl | bash)
Windowsno install command published
macOS / Linuxdocumented install command available
PriceFree and open source
Command verifiedYes — checked against the project README
Popularity5.7k stars on the project's public repository

On mobile

pigsty is a command-line tool, so there is no phone app for it — a phone has no shell to run it in. You'll need a desktop, or a remote shell into a machine that has one.

The project's own page is pigsty.io

pigsty is developed by its own authors. This page is an independent reference; we are not affiliated with or sponsored by the project. The command shown here was reproduced from the project's public documentation — always check the project's own documentation before running anything.