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!
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.
Not available for Windows yet.
pigsty doesn't publish an install command for Windows anywhere we can verify, so there's nothing for us to show you. We won't invent one. It does document one for macOS and Linux — switch to that tab.
Pastes into PowerShell and installs pigsty on your Windows machine in one step. Runs as your normal user account, and needs no administrator rights.
Not available for macOS yet.
pigsty doesn't publish an install command for macOS or Linux anywhere we can verify, so there's nothing for us to show you. We won't invent one.
Pastes into your terminal and installs pigsty on your macOS or Linux machine in one step — no manual setup, no build tools. It fetches the project's own install script and runs it, which is the standard way these tools ship — worth a read if you like to know what's running.
How to set up pigsty, step by step
Open Terminal. On a Mac it's in Applications ▸ Utilities, or press Cmd+Space and type Terminal. On Linux, press Ctrl+Alt+T. Paste the command and press Enter.
Run pigsty --help to see the available commands, and
pigsty --version to confirm the install worked. If your shell complains about
permissions, that project usually documents a corrected command on its own site.
This downloads the project's shell installer and pipes it straight into your shell, which executes it without saving a file. Same caveat: it's the project's script, but read it first if you want to be sure.
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!
| Category | Platform |
|---|---|
| Install method | shell one-liner (curl | bash) |
| Windows | no install command published |
| macOS / Linux | documented install command available |
| Price | Free and open source |
| Command verified | Yes — checked against the project README |
| Popularity | 5.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.