LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

sqlit

Lazygit-style TUI for SQL databases

TLDR

Launch the interactive TUI
$ sqlit
copy
Connect to a saved connection
$ sqlit -c "[MyConnection]"
copy
Run a query from the CLI
$ sqlit query -c "[MyConnection]" -q "[SELECT * FROM Users]" --format csv
copy

SYNOPSIS

sqlit [-c connectionname_]sqlit query [-c connectionname] [**-q** query] [**--format** format_]

DESCRIPTION

sqlit is a lightweight, keyboard-driven TUI for connecting to and querying SQL databases from the terminal. It supports 20+ database systems including PostgreSQL, MySQL, SQLite, DuckDB, BigQuery, ClickHouse, and Snowflake. Features include query history, autocomplete, Vim-style editing, SSH tunneling, Docker container auto-discovery, and secure credential storage.

PARAMETERS

-c CONNECTION

Connect using a saved connection name.
-q QUERY
SQL query to execute (used with the query subcommand).
--format FORMAT
Output format for query results: table, csv, json (used with the query subcommand).

INSTALL

yay -S sqlit
copy

HISTORY

sqlit was created by Maxteabag (Peter Adams) and is written in Python.

SEE ALSO

litecli(1), harlequin(1), usql(1), pgcli(1), mycli(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid