Repository navigation
v0.18.0
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.0] - 2026-11-26
Security
- Bundle PostgreSQL 18.7.0 (was 18.1.0). This fixes CVE-2026-116331 and includes the security fixes from 18.2 through 18.6 (#53). Existing instances move to 18.7 on their next
pg0 start. A minor upgrade needs no dump and restore.
Added
pg0 startreads the password fromPG0_PASSWORDwhen--passwordis not given, so it stays out of the process list and shell history (#60).
Fixed
- Alpine (musl): pgvector now works. The musl binaries bundled the glibc build of pgvector, so
CREATE EXTENSION vectorfailed (#54). - Windows:
pg0 startno longer waits about 4 seconds when the server listens on 127.0.0.1 only (#56). - After an upgrade, pg0 uses the newest PostgreSQL version folder in the installation directory instead of whichever one the OS lists first.