☰ Menu
CLI Open source 36 installs/mo Up 6.49×

sabiql for Mac

sabiql

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

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

Last updated 2026-11-11; current version v3.0.3, with the latest 10 releases listed.

VersionReleasedTypeSizemacOSWindowsLinux
v3.0.32026-11-11Stable4.1 MBDownloadDownloadDownload
v3.0.22026-10-21Stable4.1 MBDownloadDownloadDownload
v3.0.12026-09-05Stable4.1 MBDownloadDownloadDownload
v3.0.02026-09-01Stable4.2 MBDownloadDownloadDownload
v2.0.12026-08-16Stable3.9 MBDownloadDownloadDownload
v2.0.02026-08-12Stable3.9 MBDownloadDownloadDownload
v1.15.12026-07-18Stable3.6 MBDownloadDownloadDownload
v1.15.02026-07-18Stable3.6 MBDownloadDownloadDownload
v1.14.02026-07-07Stable3.6 MBDownloadDownloadDownload
v1.13.02026-06-14Stable3.6 MBDownloadDownloadDownload

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.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
sabiqlv3.0.3MITCLI36
dz6v0.8.0GPL-3.0-or-laterCLI25
flowrsflowrs-tui-v0.16.3MITCLI36
qobine-tuiv2026-11-03-1GPL-3.0-onlyCLI54

Similar apps: Command-line Tools

Leave a comment

评论表单加载中…

CLI Open source 36 installs/mo Up 6.49×

sabiql for Mac

sabiql

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

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

Last updated 2026-11-11; current version v3.0.3, with the latest 10 releases listed.

VersionReleasedTypeSizemacOSWindowsLinux
v3.0.32026-11-11Stable4.1 MBDownloadDownloadDownload
v3.0.22026-10-21Stable4.1 MBDownloadDownloadDownload
v3.0.12026-09-05Stable4.1 MBDownloadDownloadDownload
v3.0.02026-09-01Stable4.2 MBDownloadDownloadDownload
v2.0.12026-08-16Stable3.9 MBDownloadDownloadDownload
v2.0.02026-08-12Stable3.9 MBDownloadDownloadDownload
v1.15.12026-07-18Stable3.6 MBDownloadDownloadDownload
v1.15.02026-07-18Stable3.6 MBDownloadDownloadDownload
v1.14.02026-07-07Stable3.6 MBDownloadDownloadDownload
v1.13.02026-06-14Stable3.6 MBDownloadDownloadDownload

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.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
sabiqlv3.0.3MITCLI36
dz6v0.8.0GPL-3.0-or-laterCLI25
flowrsflowrs-tui-v0.16.3MITCLI36
qobine-tuiv2026-11-03-1GPL-3.0-onlyCLI54

Similar apps: Command-line Tools

Leave a comment

Your email address will not be published. Required fields are marked *.