Interactive UI
Guided menus for databases, tables, inserts, structure, custom SQL, and live query monitoring.
Documentation
Explore, modify, and monitor PostgreSQL with guided menus or one-line commands. No separate GUI—just Node.js, your shell, and clear, formatted output.
Install globally, add a .env (or use prompts), then run pgshell.
npm install -g pgshell
Create a .env where you run the command, or paste a DATABASE_URL when prompted.
DB_HOST=localhost
DB_PORT=5432
DB_USER=postgres
DB_PASSWORD=your_password
DB_NAME=your_database
pgshell
Opens the interactive menu. Without .env, you can store the password in your OS keychain.
Guided menus for databases, tables, inserts, structure, custom SQL, and live query monitoring.
One-liners like pgshell query "SELECT …" for scripts and quick checks.
.env, URI, standard PG* vars, or prompts—with optional OS keychain storage.
Tables and SQL highlighting designed for humans in a terminal—or read the same flows in this docs site.