PIGSTY

PIG CLI

The Missing Package Manager for PostgreSQL Extensions

"Postgres Install Genius, the missing extension package manager for PostgreSQL ecosystem"

Quick Start

Get started with PIG in seconds:

curl -fsSL https://repo.pigsty.io/pig | bash
curl -fsSL https://repo.pigsty.cc/pig | bash

Then it’s ready to use, assume you want to install the pg_duckdb extension:

$ pig repo add pigsty pgdg -u  # add pgdg & pigsty repo, then update repo cache
$ pig ext install pg17         # install PostgreSQL 17 kernels with native PGDG packages
$ pig ext install pg_duckdb    # install the pg_duckdb extension (for current pg17)


Commands

Check sub-commands documentation with pig help <command>:


Source

The pig CLI is developed by Vonng and open-sourced under the Apache License 2.0.

You can also check the pigsty project, which makes it even smoother to deliver all these extensions.