vizgres

A fast, keyboard-driven PostgreSQL client for the terminal.

vizgres — schema browser, SQL editor, and query results in a terminal

Built for the terminal

Everything you need to work with PostgreSQL, without leaving your terminal.

Keyboard-first

Vim-style navigation throughout. Browse schemas, edit queries, and explore results without touching the mouse.

Built in Rust

Instant startup. Auto-paginates large result sets with server-side LIMIT/OFFSET. Handles databases with 10,000+ tables.

Smart SQL editor

Syntax highlighting, context-aware autocomplete, undo/redo, query formatting, and history navigation.

Schema browser

Navigate schemas, tables, views, functions, and indexes. Filter with /, preview data, copy names, show DDL.

EXPLAIN ANALYZE

One-key query plan analysis. Understand query performance with execution timing without leaving your workflow.

Export anywhere

Save results as CSV or JSON. Copy cells, rows, or qualified table names directly to your clipboard.

A few essential keys

Fully customizable via ~/.vizgres/config.toml

F5 Execute query
Ctrl+E EXPLAIN ANALYZE
Tab Cycle focus
j / k Navigate up/down
Enter Expand / preview
/ Filter tree
Ctrl+T New tab
y Copy name
d Show DDL
Ctrl+S Export CSV
n / p Next / prev page
Ctrl+P Command bar
? Show all keys

Get started

1

Download the latest release for your platform

tar xzf vizgres-*.tar.gz && sudo mv vizgres /usr/local/bin/
2

Connect to your database

vizgres postgres://user:pass@localhost:5432/mydb
3

Or launch and pick a saved connection

vizgres

Prebuilt binaries for Linux x86_64 and macOS (ARM/Intel) · Or build from source