macOS
brew install sqlx-clilocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für sqlx-cli in AI-Agent-Workflows.
Installation
brew install sqlx-clilocal Homebrew formula metadata
nix profile install nixpkgs#sqlx-clinixpkgs package indexes · pkgs/by-name/sq/sqlx-cli/package.nix · Quelle: api.github.com
sudo pacman -S sqlx-cliArch Linux sync databases · sqlx-cli · Quelle: geo.mirror.pkgbuild.com
sudo apk add cargo-sqlxAlpine Linux edge package indexes · cargo-sqlx · Quelle: dl-cdn.alpinelinux.org
Überblick
Command-line utility for SQLx, the Rust SQL toolkit
Verlauf
sqlx-cli is the command-line companion to SQLx, the Rust SQL toolkit, used for database management, migrations, and offline query metadata generation.
The SQLx repository's official README describes SQLx as an async, pure-Rust SQL crate with optional compile-time checked queries and support for PostgreSQL, MySQL, MariaDB, and SQLite. The sqlx-cli README describes the CLI as SQLx's associated command-line utility for managing databases, migrations, and offline mode for query macros.
Official repository metadata places the SQLx project in public GitHub development from late 2019. The CLI became important because SQLx's compile-time query checking creates a developer workflow need: capture query metadata with cargo sqlx prepare so projects can build without a live development database.
The supplied package-manager facts show sqlx-cli distributed as sqlx-cli or cargo-sqlx through Homebrew, Alpine, Nix, and Arch. That packaging matters because Rust users often need the executable in CI images and developer shells even when the application itself depends on SQLx as a library.
The official sqlx-cli README documents cargo install options by database backend and TLS stack, DATABASE_URL via command-line option, environment, or .env file, database create/drop commands, migration creation and execution, reversible migrations, cargo sqlx prepare, the .sqlx metadata directory, and prepare --check for CI.
Package nerds care about sqlx-cli because it bridges Rust's compile-time SQL checking with ordinary package-manager workflows. It is a CLI that must stay version-compatible with a Rust library, database drivers, TLS choices, and CI environments.
Sicherheitslage
broad file, network, media, or database tool signal.
blue Risiko · mittel Konfidenz · tool
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Credential-bearing paths to review before unattended agent runs.
.envExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
cargo-sqlx | cli | globales Executable | |
sqlx | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/transact-rs/sqlx
Installationsmetadaten
| Paketschlüssel | brew:sqlx-cli |
|---|---|
| Version | 0.9.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/sqlx-cli |
| Homepage | https://github.com/transact-rs/sqlx |
| Repository | https://github.com/transact-rs/sqlx |
| Upstream-Dokumentation | https://github.com/transact-rs/sqlx#readme |
| Lizenz | Apache-2.0 OR MIT |
| Quellarchiv | https://github.com/transact-rs/sqlx/archive/refs/tags/v0.9.0.tar.gz |
| Zuletzt aktualisiert | 2026-07-04T16:53:45+09:00 |
| Pulse | updated |
| Build-Abhängigkeiten | pkgconf, rust |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sqlx-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
sqlx-cli
nix profile install nixpkgs#sqlx-clisqlx-cli 0.9.0-1
Command-line utility for SQLx, the Rust SQL toolkit
https://github.com/launchbadge/sqlx
sudo pacman -S sqlx-clicargo-sqlx 0.8.6-r0
Command-line utility for SQLx, the Rust SQL toolkit - cargo subcommand
https://github.com/launchbadge/sqlx
sudo apk add cargo-sqlxsqlx 0.8.6-r0
Command-line utility for SQLx, the Rust SQL toolkit
https://github.com/launchbadge/sqlx
sudo apk add sqlxsqlx-bash-completion 0.8.6-r0
Bash completions for sqlx
https://github.com/launchbadge/sqlx
sudo apk add sqlx-bash-completionsqlx-doc 0.8.6-r0
Command-line utility for SQLx, the Rust SQL toolkit (documentation)
https://github.com/launchbadge/sqlx
sudo apk add sqlx-docsqlx-fish-completion 0.8.6-r0
Fish completions for sqlx
https://github.com/launchbadge/sqlx
sudo apk add sqlx-fish-completionsqlx-zsh-completion 0.8.6-r0
Zsh completions for sqlx
https://github.com/launchbadge/sqlx
sudo apk add sqlx-zsh-completionQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.