sabiql for Mac
Fast, safe-by-design, Vim-first DB TUI with ER diagrams.
sabiql — overview
Fast, safe-by-design, Vim-first DB TUI with ER diagrams.
Concept Vim-first · Safe by design · Oil-and-vinegar UI · Fast and lightweight
sabiql brings database browsing, querying, and editing into the terminal while using the native CLI for each database. PostgreSQL connections can reuse existing libpq connection settings such as .pgpass, pg_service.conf, and SSL settings.
Like oil.nvim, sabiql keeps its interface out of your way. Following oil.nvim's "oil and vinegar" philosophy, UI elements appear only when needed. Vim-native keybindings such as j/k, dd, and / keep navigation and editing familiar.
Safety follows a plan-before-apply flow familiar from Terraform: inline edits and row deletions show the SQL and its risk level before you confirm the change. Read-only mode (Ctrl+R) also blocks writes at the database client level.
Features Browse and inspect — Find tables with fuzzy search, inspect columns, constraints, indexes, foreign keys, triggers, and DDL Run SQL — Write ad-hoc queries with completion for tables, columns, and keywords, then recall them from query history Edit with previews — Update cells or delete rows only after reviewing the SQL and its risk level Browse in read-only mode (Ctrl+R) — Block writes while investigating data Analyze queries — View and compare PostgreSQL or MySQL execution plans, or inspect SQLite query plans Work with data — Copy cell values, export CSV, and inspect or edit PostgreSQL and MySQL JSON documents Visualize relationships — Generate PostgreSQL and MySQL ER diagrams with Graphviz and open them in your browser
Press ? inside sabiql to see all commands and keybindings.
Installation
Database Setup
sabiql uses the CLI for the database you want to open: To use PostgreSQL: install psql To use MySQL: install the Oracle MySQL mysql CLI 8.4.x. Oracle MySQL servers 5.7, 8.0, and 8.4 can be connected to; 8.4 is the continuously validated server version and older or newer Oracle server versions are not fully guaranteed. To use SQLite: macOS includes sqlite3 by default. Check that it is version 3.41.1 or later; additional installation is usually unnecessary. On Linux and other platforms, install sqlite3 version 3.41.1 or later.
Graphviz is required only for PostgreSQL and MySQL ER diagrams. SQLite does not support ER diagrams.
Windows support is experimental.
See MySQL support and limitations and SQLite support and limitations for supported versions and database-specific limitations.
Quick Start
Launch sabiql and enter your connection details:
You can also open an existing SQLite database directly:
Use Ctrl+R before browsing data when you want to block writes. Press ? for help, or open Settings with , to change the theme and keymap.
Roadmap [x] Connection management UI [x] ER diagram generation [x] Read-only mode (Ctrl+R) [x] SQL modal with DML/DDL safety guardrails [x] Query history persistence & fuzzy search [x] CSV export & clipboard yank [x] EXPLAIN workflow (plan tree view & comparison)
Details
快速、内置安全、无人驾驶、以 Vim 为先的数据库 TUI,带 ER 图
How to install sabiql
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2026-11-11; current version v3.0.3, with the latest 10 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| v3.0.3 | 2026-11-11 | Stable | 4.1 MB | Download | Download | Download |
| v3.0.2 | 2026-10-21 | Stable | 4.1 MB | Download | Download | Download |
| v3.0.1 | 2026-09-05 | Stable | 4.1 MB | Download | Download | Download |
| v3.0.0 | 2026-09-01 | Stable | 4.2 MB | Download | Download | Download |
| v2.0.1 | 2026-08-16 | Stable | 3.9 MB | Download | Download | Download |
| v2.0.0 | 2026-08-12 | Stable | 3.9 MB | Download | Download | Download |
| v1.15.1 | 2026-07-18 | Stable | 3.6 MB | Download | Download | Download |
| v1.15.0 | 2026-07-18 | Stable | 3.6 MB | Download | Download | Download |
| v1.14.0 | 2026-07-07 | Stable | 3.6 MB | Download | Download | Download |
| v1.13.0 | 2026-06-14 | Stable | 3.6 MB | Download | Download | Download |
Data from GitHub Releases; stable releases first, each group sorted newest first.
Prebuilt bottle platforms
Official Homebrew bottles cover:
- Apple silicon · latest macOS
- Apple silicon · macOS 26 Tahoe
- Apple silicon · macOS 15 Sequoia
- Linux · ARM64
- Linux · x86_64
⚠️ No prebuilt bottle for Intel Macs; Intel users need brew install --build-from-source to build from source.
Installation notes
PostgreSQL and MySQL support require psql or mysql in PATH.nER diagram export requires Graphviz in PATH.n
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| sabiql | v3.0.3 | MIT | CLI | 36 |
| dz6 | v0.8.0 | GPL-3.0-or-later | CLI | 25 |
| flowrs | flowrs-tui-v0.16.3 | MIT | CLI | 36 |
| qobine-tui | v2026-11-03-1 | GPL-3.0-only | CLI | 54 |
Similar apps: Command-line Tools
dz6
Fast Vim-inspired TUI hex editorflowrs
Flowrs is a TUI application for Apache Airflow. It allows you to monitor, inspect and manage…qobine-tui
High resolution audio player backed by Qobuzeralchemy
Entity relation diagrams generatoropenssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratioCategories: Command-line Tools
sabiql for Mac
Fast, safe-by-design, Vim-first DB TUI with ER diagrams.
sabiql — overview
Fast, safe-by-design, Vim-first DB TUI with ER diagrams.
Concept Vim-first · Safe by design · Oil-and-vinegar UI · Fast and lightweight
sabiql brings database browsing, querying, and editing into the terminal while using the native CLI for each database. PostgreSQL connections can reuse existing libpq connection settings such as .pgpass, pg_service.conf, and SSL settings.
Like oil.nvim, sabiql keeps its interface out of your way. Following oil.nvim's "oil and vinegar" philosophy, UI elements appear only when needed. Vim-native keybindings such as j/k, dd, and / keep navigation and editing familiar.
Safety follows a plan-before-apply flow familiar from Terraform: inline edits and row deletions show the SQL and its risk level before you confirm the change. Read-only mode (Ctrl+R) also blocks writes at the database client level.
Features Browse and inspect — Find tables with fuzzy search, inspect columns, constraints, indexes, foreign keys, triggers, and DDL Run SQL — Write ad-hoc queries with completion for tables, columns, and keywords, then recall them from query history Edit with previews — Update cells or delete rows only after reviewing the SQL and its risk level Browse in read-only mode (Ctrl+R) — Block writes while investigating data Analyze queries — View and compare PostgreSQL or MySQL execution plans, or inspect SQLite query plans Work with data — Copy cell values, export CSV, and inspect or edit PostgreSQL and MySQL JSON documents Visualize relationships — Generate PostgreSQL and MySQL ER diagrams with Graphviz and open them in your browser
Press ? inside sabiql to see all commands and keybindings.
Installation
Database Setup
sabiql uses the CLI for the database you want to open: To use PostgreSQL: install psql To use MySQL: install the Oracle MySQL mysql CLI 8.4.x. Oracle MySQL servers 5.7, 8.0, and 8.4 can be connected to; 8.4 is the continuously validated server version and older or newer Oracle server versions are not fully guaranteed. To use SQLite: macOS includes sqlite3 by default. Check that it is version 3.41.1 or later; additional installation is usually unnecessary. On Linux and other platforms, install sqlite3 version 3.41.1 or later.
Graphviz is required only for PostgreSQL and MySQL ER diagrams. SQLite does not support ER diagrams.
Windows support is experimental.
See MySQL support and limitations and SQLite support and limitations for supported versions and database-specific limitations.
Quick Start
Launch sabiql and enter your connection details:
You can also open an existing SQLite database directly:
Use Ctrl+R before browsing data when you want to block writes. Press ? for help, or open Settings with , to change the theme and keymap.
Roadmap [x] Connection management UI [x] ER diagram generation [x] Read-only mode (Ctrl+R) [x] SQL modal with DML/DDL safety guardrails [x] Query history persistence & fuzzy search [x] CSV export & clipboard yank [x] EXPLAIN workflow (plan tree view & comparison)
Details
快速、内置安全、无人驾驶、以 Vim 为先的数据库 TUI,带 ER 图
How to install sabiql
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2026-11-11; current version v3.0.3, with the latest 10 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| v3.0.3 | 2026-11-11 | Stable | 4.1 MB | Download | Download | Download |
| v3.0.2 | 2026-10-21 | Stable | 4.1 MB | Download | Download | Download |
| v3.0.1 | 2026-09-05 | Stable | 4.1 MB | Download | Download | Download |
| v3.0.0 | 2026-09-01 | Stable | 4.2 MB | Download | Download | Download |
| v2.0.1 | 2026-08-16 | Stable | 3.9 MB | Download | Download | Download |
| v2.0.0 | 2026-08-12 | Stable | 3.9 MB | Download | Download | Download |
| v1.15.1 | 2026-07-18 | Stable | 3.6 MB | Download | Download | Download |
| v1.15.0 | 2026-07-18 | Stable | 3.6 MB | Download | Download | Download |
| v1.14.0 | 2026-07-07 | Stable | 3.6 MB | Download | Download | Download |
| v1.13.0 | 2026-06-14 | Stable | 3.6 MB | Download | Download | Download |
Data from GitHub Releases; stable releases first, each group sorted newest first.
Prebuilt bottle platforms
Official Homebrew bottles cover:
- Apple silicon · latest macOS
- Apple silicon · macOS 26 Tahoe
- Apple silicon · macOS 15 Sequoia
- Linux · ARM64
- Linux · x86_64
⚠️ No prebuilt bottle for Intel Macs; Intel users need brew install --build-from-source to build from source.
Installation notes
PostgreSQL and MySQL support require psql or mysql in PATH.nER diagram export requires Graphviz in PATH.n
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| sabiql | v3.0.3 | MIT | CLI | 36 |
| dz6 | v0.8.0 | GPL-3.0-or-later | CLI | 25 |
| flowrs | flowrs-tui-v0.16.3 | MIT | CLI | 36 |
| qobine-tui | v2026-11-03-1 | GPL-3.0-only | CLI | 54 |
Similar apps: Command-line Tools
dz6
Fast Vim-inspired TUI hex editorflowrs
Flowrs is a TUI application for Apache Airflow. It allows you to monitor, inspect and manage…qobine-tui
High resolution audio player backed by Qobuzeralchemy
Entity relation diagrams generatoropenssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratioCategories: Command-line Tools