An interactive PostgreSQL command-line client written in Go with syntax highlighting, context-aware autocompletion, and persistent command history.
- v0.4.0
- Published at
- 22d ago
- 75
- Stars
- 376
- Download
- Synced at
- 16d ago
Latest release
v0.4.0Sep 27, 2026, 05:50 PMDownloads slow? Switch the source anytime above
README
Project Overview
pgxcli is an interactive PostgreSQL command-line client built in Go, designed for a fast and smooth REPL experience.
Key Features
- Interactive REPL with customizable prompt and style
- Rich syntax highlighting
- Context-aware autocompletion
- Persistent command history
- PostgreSQL backslash commands (
\d,\l,\dt,\q) - Single binary with no external runtime dependencies
- Fast startup and better performance
Target Audience
- PostgreSQL users
- Developers who need a fast, lightweight CLI
- DBAs who appreciate autocompletion and syntax highlighting
Quick Start
- Download binaries from Releases
- Debian/Ubuntu:
sudo dpkg -i pgxcli_*_linux_amd64.deb - macOS: download tar.gz and move to PATH
- Connect:
pgxcli postgres://user:pass@host:5432/db
Core Advantages
- Single binary with no external dependencies
- Syntax highlighting and context-aware autocompletion
- Fast startup, better performance than pgcli
- Cross-platform (Linux, macOS, Windows)
Release history
Sort