Connect and query your database from your terminal in seconds.
sqlit supports a wide range of databases, including PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, Oracle, DuckDB, CockroachDB, ClickHouse, Snowflake, FirebirdSQL, Turso, Supabase, Cloudflare D1, Databricks, BigQuery, Amazon Athena, Redshift, IBM Db2, SAP HANA, Trino and Presto.
This is free and open source software.
Key Features
- Connection manager: Save and switch connections without CLI args.
- Just run sqlit: No CLI config needed, pick a connection and go.
- Multi-database support: PostgreSQL, MySQL, SQLite, SQL Server, and 10+ more.
- Docker integration: Auto-detect running database containers.
- SSH tunnels: Connect to remote databases securely with password or key auth.
- Secure credentials: Passwords stored in your OS keyring.
- Vim-style editing: Modal editing for terminal purists.
- Query history: Searchable, per-connection history.
- Filter results: Fuzzy search through millions of rows.
- Context-aware help: Keybindings shown on screen.
- Browse databases: Tables, views, procedures, indexes, triggers, sequences.
- Autocomplete: Tables, columns, and procedures.
- CLI mode: Execute SQL from the command line.
- Themes: Rose Pine, Tokyo Night, Nord, Gruvbox.
- Dependency wizard: Auto-install missing drivers.
- Cloud CLI integration – discover and connect to databases using AWS, Azure and Google Cloud command-line tools.
- External credential commands – retrieve database passwords from compatible secret managers rather than storing them directly in connection settings.
Website: github.com/Maxteabag/sqlit
Support:
Developer: Peter
License: MIT License

sqlit is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| MySQL Tools | |
|---|---|
| DBeaver | Universal database tool |
| phpMyAdmin | MySQL web administration tool |
| MySQL Workbench | Complete visual database design tool |
| mycli | Command line interface for MySQL, MariaDB, and Percona |
| gh-ost | GitHub's Online Schema Migrations for MySQL |
| Beekeeper Studio | Cross-platform SQL editor and database manager |
| usql | Command-line database client |
| sqlit | lazygit of SQL databases |
| MySQLTuner | Analyse MySQL performance and suggest configuration changes |
| Harlequin | Easy, fast, and beautiful database client for the terminal |
| DbGate | Database manager for MySQL, PostgreSQL, MongoDB |
| Percona Toolkit | Essential command-line utilities for MySQL |
| SQuirreL SQL Client | Graphical SQL client written in Java |
| Adminer | Full-featured tool for managing content in MySQL database |
| dblab | Interactive client for PostgreSQL, MySQL, SQLite3, and more |
| MyDumper | Parallel utilities for fast MySQL database backups and restores |
| Antares | SQL client based on Electron.js and Vue.js |
| XtraBackup | Backup utility for MySQL |
| innotop | Real-time, advanced investigation tool |
| Skeema | Manage MySQL and MariaDB schema changes |
| vi-sql | Terminal SQL client for browsing, querying and editing databases |
| MySQL Shell | Advanced MySQL console for scripting and database administration |
| Sequeler | Native Linux SQL client built in Vala and Gtk |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.