Skip to content

01 / INSTALL

Install pig

Use the installer or a system package on Linux. Use a binary archive on macOS. You can also build from source.

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

Install pig with one command

x86_64aarch64rpmdpkg

Run on a Linux host with root or sudo access. The script downloads the matching PIG package and installs it with rpm or dpkg.

shell
curl -fsSL https://repo.pigsty.io/pig | bash
pig --version
The script installs the latest version on the selected mirror. The “Pin a version” tab provides the command for v1.10.0.

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

PIG release files are available for these platforms. Use pig ext avail to check PostgreSQL extension package availability.

DEBdeb

Debian 12 / 13

Bookworm and Trixie, on amd64 and arm64.

pig_1.10.0-1_amd64.deb
UBUdeb

Ubuntu 22 / 24 / 26

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

pig_1.10.0-1_arm64.deb
MACtar.gz

macOS

Intel and Apple Silicon, for catalog queries, inventory editing, and related tasks. Run PostgreSQL package installation on Linux hosts.

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

03 / AFTER INSTALL

After the install

Check the installation. Update the executable or extension catalog as needed.

COMMAND REFERENCE pig --help Every subcommand →
DAY-TO-DAY Four commands
pig --version confirm the install and the running version
sudo pig update upgrade PIG on Linux; -m uses the China mirror. On macOS, download the new archive
pig ext reload refresh the extension catalog without touching the binary
sudo apt remove pig on EL use sudo dnf remove pig; for an archive install, remove the installed pig file