SHORTLIST20
العربية
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
البرمجة

أفضل 20 عميل سطر أوامر لقواعد البيانات

Terminal clients with autocompletion and syntax highlighting

آخر تحديث · GitHub stars (stars)

لماذا هؤلاء العشرون

Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence, the last push and the section of the community list it sits in. Tools in the same list that have no public repository (a few vendor shells) can't be ranked here.

هل هذه القائمة مفيدة؟
  1. 1

    pgcli

    Postgres client with autocompletion and syntax highlighting.

    13,464 stars 620 forkslast push 2026-11-28PythonBSD-3-Clause

    موجود أيضًا في: #12 command-line apps for developers#3 PostgreSQL tools: CLIs, backups, high availability, monitoring and utilities

  2. 2

    mycli

    MySQL client with autocompletion and syntax highlighting.

    12,006 stars 704 forkslast push 2026-11-30PythonBSD-3-Clause

    موجود أيضًا في: #14 command-line apps for developers#3 MySQL GUI clients

  3. 3

    usql

    Universal SQL client with autocompletion and syntax highlighting.

    10,183 stars 406 forkslast push 2026-11-29GoMIT

    موجود أيضًا في: #16 command-line apps for developers#15 command-line productivity tools

  4. 4

    litecli

    CLI for SQLite Databases with auto-completion and syntax highlighting.

    3,320 stars 104 forkslast push 2026-06-18PythonBSD-3-Clause

  5. 5

    iredis

    A Cli for Redis with AutoCompletion and Syntax Highlighting.

    2,762 stars 118 forkslast push 2026-11-02PythonBSD-3-Clause

  6. 6

    pspg

    provides a pager with enhanced visualization and navigation for tabular data. Originally implemented for PostgreSQL, but also supports MySQL.

    2,745 stars 93 forkslast push 2026-11-29CBSD-2-Clause

    موجود أيضًا في: #10 MySQL GUI clients

  7. 7

    sqlite-utils

    Python CLI utility and library for manipulating SQLite databases.

    2,269 stars 249 forkslast push 2026-11-30PythonApache-2.0

    موجود أيضًا في: #14 Python ORMs and database drivers

  8. 8

    ipython-sql

    Connect to a database for issue SQL commands within IPython or IPython Notebook.

    1,796 stars 378 forkslast push 2024-07-12PythonMIT

  9. 9

    pgcenter

    Top-like admin tool for PostgreSQL.

    1,634 stars 105 forkslast push 2026-11-30GoNOASSERTION

    موجود أيضًا في: #13 PostgreSQL utilities

  10. 10

    mssql-cli

    A command-line client for SQL Server with auto-completion and syntax highlighting.

    1,424 stars 190 forkslast push 2024-02-26PythonBSD-3-Clause

  11. 11

    SQLLine

    Command-line shell for issuing SQL to relational databases via JDBC.

    661 stars 151 forkslast push 2023-07-07JavaBSD-3-Clause

  12. 12

    athenacli

    CLI tool for AWS Athena service that can do auto-completion and syntax highlighting.

    227 stars 35 forkslast push 2026-04-24PythonBSD-3-Clause

  13. 13

    diesel-guard

    Linter for dangerous PostgreSQL migration patterns. It works seamlessly with PostgreSQL SQL files and integrates natively with projects using Diesel and SQLx.

    122 stars 12 forkslast push 2026-11-30RustMIT

  14. 14

    pg_top

    Top for PostgreSQL.

    121 stars 15 forkslast push 2024-06-06CBSD-3-Clause

قارن جنبًا إلى جنب

LicencePricingFree plan or tierSelf-hostHosted cloud versionPlatformsDatabases supportedInterfaceQuery editor featuresER diagramsData import and exportAI assistant
pgcliBSD-3-ClauseFree ($0)Free and open-source softwareYes, runs locally or self-hosted CLINoLinux, macOS, WindowsPostgreSQLCLI (command-line interface)Auto-completion, syntax highlighting, multiline editing, smart completionNoSupports PostgreSQL \copy and CSV exportNo
mycliBSD-3-ClauseFree ($0)Free and open-source softwareYes, runs locally or self-hosted CLINoLinux, macOS, WindowsMySQL, MariaDB, Percona, TiDBCLI (command-line interface)Auto-completion, syntax highlighting, multiline editing, favorite queriesNoTabular and CSV output formats, file redirectionYes, queries LLMs with context derived from schema via /llm
usqlMITFree ($0)Free and open-source softwareYes, runs locally or self-hosted CLINoLinux, macOS, WindowsPostgreSQL, MySQL, Oracle, SQLite, SQL Server, and many othersCLI (command-line interface)Syntax highlighting, context-based completion, multiline input, variablesNoSupports \copy command to copy data between databases and filesNo
litecliBSD-3-ClauseFree ($0)Free and open-source softwareYes, runs locally or self-hosted CLINoLinux, macOS, WindowsSQLiteCLI (command-line interface)Auto-completion, syntax highlighting, multiline editing, favorite queriesNoOutputs formatted tables and CSV, file loggingYes, supports generating queries via \llm command
iredisBSD-3-ClauseFree ($0)Free and open-source softwareYes, runs locally or self-hosted CLINoLinux, macOS, WindowsRedisCLI (command-line interface)Auto-completion, syntax highlighting, command validation, reverse searchNoPiping output to shell tools like jqNo
pspgBSD-2-ClauseFree ($0)Free and open-source softwareYes, runs locally or self-hosted CLI pagerNoLinux, macOS, FreeBSD, WindowsPostgreSQL, MySQL, MonetDB, tabular textTUI (terminal pager)Tabular pager only; row/column freezing, searching, sortingNoExports selected tabular area to clipboard or CSV fileNo
sqlite-utilsApache-2.0Free ($0)Free and open-source softwareYes, runs locally or self-hosted CLINoLinux, macOS, WindowsSQLiteCLI (command-line interface)Command-line query execution, schema transformations, full-text search setupNoImports/exports CSV, TSV, JSON, and newline-delimited JSONAvailable via sqlite-utils-ask plugin
ipython-sqlMITFree ($0)Free and open-source softwareYes, runs locally within IPython/JupyterNoLinux, macOS, Windows (Python)PostgreSQL, MySQL, SQLite, Oracle, and any SQLAlchemy-supported databaseIPython CLI / Jupyter magic command interfaceMultiline queries, variable binding, connection managementNoImports Pandas DataFrames (--persist), exports to CSV and PandasNo
pgcenterBSD-3-ClauseFree ($0)Free and open-source softwareYes, runs locally or self-hosted CLI admin toolNoLinux, macOSPostgreSQLTUI (top-like terminal interface)Performance observation, viewing running queries, cancelling/terminating backendsNoExports runtime statistics to files or reportsNo
mssql-cliBSD-3-ClauseFree ($0)Free and open-source softwareYes, runs locally or self-hosted CLINoLinux, macOS, WindowsMicrosoft SQL ServerCLI (command-line interface)Auto-completion, syntax highlighting, multiline queries, query historyNoOutputs formatted tables, redirectable query resultsNo
SQLLineBSD-3-ClauseFree ($0)Free and open-source softwareYes, runs locally or self-hosted CLI shellNoCross-platform (Java JVM: Linux, macOS, Windows)Any relational database supporting JDBCCLI (command-line interface shell)Auto-completion, syntax highlighting, command history, batch executionNoOutputs results in CSV/TSV/table formats, runs SQL script filesNo
athenacliBSD-3-ClauseFree ($0)Free and open-source softwareYes, runs locally or self-hosted CLINoLinux, macOS, WindowsAmazon AthenaCLI (command-line interface)Auto-completion, syntax highlighting, multiline editing, query historyNoOutputs tabular formats, file execution and stdout redirectionNo
diesel-guardMITFree ($0)Free and open-source softwareYes, runs locally or self-hosted CLI linterNoLinux, macOS, WindowsPostgreSQL (migration SQL files)CLI (command-line linter)Static analysis linter for migration patterns (no interactive editor)NoNo (reads SQL migration files directly)Works with AI agents (Claude, Codex, Copilot, Gemini)
pg_topBSD-3-ClauseFree ($0)Free and open-source softwareYes, runs locally or self-hosted CLI toolNoLinux, BSD, Unix, macOSPostgreSQLTUI (top-like terminal interface)Displays running queries and query plans (no query editor)NoNoNo

كل خانة مأخوذة من موقع الأداة أو وثائقها أو مستودعها؛ الصفحات في المراجع.

كيف يتم القياس

Every tool in the CLI section(s) of the community list mgramin/awesome-db-tools on GitHub that has a public repository, ranked by GitHub stars from the GitHub API; archived repositories are left out. Refreshed every 6 hours.

المراجع

  1. mgramin/awesome-db-tools: CLI, GitHub community list (list text per repository licence; star counts from the GitHub API). Checked 2026-11-30 16:06 UTC.
  2. mgramin/awesome-db-tools (CLI), GitHub community list, 16 tools with a public repository.
  3. pgcli: licence, github.com, checked 2026-11-15.
  4. pgcli: pricing, github.com, checked 2026-11-15.
  5. mycli: licence, github.com, checked 2026-11-15.
  6. mycli: pricing, github.com, checked 2026-11-15.
  7. usql: licence, github.com, checked 2026-11-15.
  8. usql: pricing, github.com, checked 2026-11-15.
  9. litecli: licence, github.com, checked 2026-11-15.
  10. litecli: pricing, github.com, checked 2026-11-15.
  11. iredis: licence, github.com, checked 2026-11-15.
  12. pspg: licence, github.com, checked 2026-11-15.
  13. sqlite-utils: licence, github.com, checked 2026-11-15.
  14. sqlite-utils: pricing, github.com, checked 2026-11-15.
  15. sqlite-utils: ai assistant, github.com, checked 2026-11-15.
  16. ipython-sql: licence, github.com, checked 2026-11-15.
  17. ipython-sql: pricing, github.com, checked 2026-11-15.
  18. pgCenter: licence, github.com, checked 2026-11-15.
  19. mssql-cli: licence, github.com, checked 2026-11-15.
  20. SQLLine: licence, github.com, checked 2026-11-15.
  21. SQLLine: pricing, github.com, checked 2026-11-15.
  22. athenacli: licence, github.com, checked 2026-11-15.
  23. athenacli: pricing, github.com, checked 2026-11-15.
  24. diesel-guard: licence, github.com, checked 2026-11-15.
  25. diesel-guard: pricing, github.com, checked 2026-11-15.
  26. pg_top: licence, github.com, checked 2026-11-15.