sqlx-cli
« Back to VersTracker
Description:
Command-line utility for SQLx, the Rust SQL toolkit
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: rust sql database cli orm migrations
Install: brew install sqlx-cli
About:
sqlx-cli is the official command-line interface for SQLx, a Rust-based SQL toolkit and ORM. It provides essential commands for managing database schemas, running migrations, and executing queries directly from the terminal. This tool is vital for developers using SQLx in their Rust applications to streamline database development workflows.
Key Features:
  • Async-first architecture for high performance
  • Supports PostgreSQL, MySQL, SQLite, and MSSQL
  • Compile-time checked SQL queries without a DSL
  • Integrated migration management (create, run, revert)
Use Cases:
  • Initializing and applying database migrations in Rust projects
  • Performing ad-hoc database queries and inspections during development
  • Integrating database schema management into CI/CD pipelines
Alternatives:
  • Diesel CLI – Diesel relies on a DSL for query building, whereas sqlx-cli works directly with raw SQL and offers compile-time verification.
  • SeaORM CLI – SeaORM provides a higher-level active record pattern, while sqlx-cli offers a thinner, more direct wrapper around SQL queries.
Version History
Detected Version Rev Change Commit
Sep 14, 2025 3:57am 0 VERSION_BUMP be4fe218
Dec 27, 2024 9:48am 0 VERSION_BUMP 133424f8
Dec 19, 2024 9:59am 0 VERSION_BUMP 3e059fad
Sep 13, 2024 4:36am 0 VERSION_BUMP da5ab9f2