dblab

Interactive terminal UI for exploring and managing databases

brewmacoslinux
Try with needOr install directly
Source

About

Database client every command-line junkie deserves

Commands

dblab

Examples

connect to a database and browse tables$ dblab
view and edit data in database tables interactively$ dblab --host localhost --user postgres --db myapp
run SQL queries and see results in terminal$ dblab
explore database schema and table structure$ dblab --connection postgres://user:pass@localhost/dbname
inspect rows and columns without writing SQL$ dblab