Repository navigation
pg0 - Embedded PostgreSQL CLI
CLI Binaries
pg0-darwin-aarch64- macOS Apple Siliconpg0-darwin-x86_64- macOS Intelpg0-linux-x86_64-gnu- Linux x86_64 for Debian/Ubuntu (glibc)pg0-linux-x86_64-musl- Linux x86_64 for Alpine (musl, statically linked)pg0-linux-aarch64-gnu- Linux ARM64 for Debian/Ubuntu (glibc)pg0-linux-aarch64-musl- Linux ARM64 for Alpine (musl, statically linked)pg0-windows-x86_64.exe- Windows x64
Python Package
Install from PyPI:
pip install pg0-embeddedPre-built wheels available for:
- macOS Apple Silicon (
macosx_14_0_arm64) - macOS Intel (
macosx_15_0_x86_64) - Linux x86_64 glibc (
manylinux_2_35_x86_64) - Linux ARM64 glibc (
manylinux_2_35_aarch64) - Windows x64 (
win_amd64)
Bundled Components
Everything is bundled directly in the binary - no downloads required, works completely offline!
- PostgreSQL 18.7.0
- pgvector 0.8.5
Installation (macOS/Linux)
curl -fsSL https://raw.githubusercontent.com/vectorize-io/pg0/main/install.sh | bash[0.18.1] - 2026-11-26
Fixed
- Smaller binaries: 0.18.0 grew a lot (macOS 91 MB, Alpine 105 MB) because the PostgreSQL 18.7 bundle now includes LLVM for JIT and Python for PL/Python. pg0 now leaves those out. JIT is off, and PL/Python is not available (#61).
- pg0 now uses the libxml2 and ICU libraries that come with PostgreSQL 18.7, instead of downloading its own copies. This also makes pg0 work on Ubuntu 26.04 (#61).