Skip to content

01 / INSTALL

Install pig

Five paths to the same binary: script, system repository, native package, tarball, source. Pick the one that matches your delivery boundary.

CURRENT VERSION v1.8.1 Release notes & all artifacts ↗
ONE-LINE INSTALLER

Install pig with one command

x86_64aarch64rpmdpkg

The script pulls the RPM or DEB that matches the running system from the Pigsty software repository, then hands it to rpm / dpkg. It installs pig itself and nothing else — no PostgreSQL, no repository changes.

shell
curl -fsSL https://repo.pigsty.io/pig | bash
pig --version
Mirror publication can lag the GitHub release. To install exactly v1.8.1, use the direct package links below and verify against checksums.txt. If piping a remote script to a shell is outside your policy, download and read it first.

WHERE IT LANDS

/usr/bin/pig

The extension catalog ships inside the binary; pig ext reload refreshes it on its own.

pig ext list

02 / TARGET MATRIX

Where pig itself runs

This is the support matrix for the pig binary itself. What it can install — kernels and extension packages — is target-specific; the catalog carries the per-target availability.

DEBdeb

Debian 12 / 13

Bookworm and Trixie, on amd64 and arm64.

pig_1.8.1-1_amd64.deb
UBUdeb

Ubuntu 22 / 24 / 26

Jammy, Noble, and Resolute, on amd64 and arm64.

pig_1.8.1-1_arm64.deb
MACtar.gz

macOS

Intel and Apple Silicon — for searching the catalog, authoring inventory, and remote orchestration. It does not install PostgreSQL packages locally.

pig-v1.8.1.darwin-arm64.tar.gz

03 / AFTER INSTALL

After the install

Verify, upgrade, refresh the catalog, uninstall — one command each.

COMMAND REFERENCE pig --help Every subcommand →
DAY-TO-DAY Four commands
pig --version confirm the install and the running version
pig update upgrade pig itself; -m uses the China mirror, -v X.Y.Z pins a version
pig ext reload refresh the extension catalog without touching the binary
apt remove pig on EL use dnf remove pig; a binary install is just rm /usr/bin/pig