Automic VaultAutomic Vault

brew

sqlx-cli mit Homebrew, Nix, pacman, apk installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für sqlx-cli in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install sqlx-cli

local Homebrew formula metadata

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#sqlx-cli

nixpkgs package indexes · pkgs/by-name/sq/sqlx-cli/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S sqlx-cli

Arch Linux sync databases · sqlx-cli · Quelle: geo.mirror.pkgbuild.com

Alpine Linux apkverifiziert · 92%
sudo apk add cargo-sqlx

Alpine Linux edge package indexes · cargo-sqlx · Quelle: dl-cdn.alpinelinux.org

Überblick

Paketzusammenfassung

Command-line utility for SQLx, the Rust SQL toolkit

Befehle und Aliase

  • cargo-sqlx
  • sqlx

Verlauf

Projektgeschichte und Nutzung

sqlx-cli is the command-line companion to SQLx, the Rust SQL toolkit, used for database management, migrations, and offline query metadata generation.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2019: Official repository metadata reports SQLx public repository creation.
  • 2020: Public issue history shows early CLI design work around cargo-sqlx and migration commands.
  • 2021: The sqlx-cli README documents reversible migrations using timestamped up/down SQL files.
  • 2023: Changelog notes offline query metadata moving toward one file per query invocation.
  • 2026: Latest crate/docs metadata continues to describe sqlx-cli as SQLx's command-line utility.

Related projects

  • sqlx-cli is tightly coupled to SQLx query macros, Rust's cargo workflow, and database backends including PostgreSQL, MySQL/MariaDB, and SQLite.

Sicherheitslage

Risikostufe: blue

broad file, network, media, or database tool signal.

Risikoklassifikator

blue Risiko · mittel Konfidenz · tool

Warum

  • broad file, network, media, or database tool signal

Signale

  • text:sql

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 2 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

local files

Configuration and credential file locations

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 files

Credential-bearing paths to review before unattended agent runs.

Unix
.env

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
cargo-sqlxcliglobales Executable
sqlxcliglobales Executable

Aktualität

Version und 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.

Seite generiert2026-07-25
Manager-Version0.9.0
Manager aktualisiert2026-07-04
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv0.9.0

https://github.com/transact-rs/sqlx

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:sqlx-cli
Version0.9.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/sqlx-cli
Homepagehttps://github.com/transact-rs/sqlx
Repositoryhttps://github.com/transact-rs/sqlx
Upstream-Dokumentationhttps://github.com/transact-rs/sqlx#readme
LizenzApache-2.0 OR MIT
Quellarchivhttps://github.com/transact-rs/sqlx/archive/refs/tags/v0.9.0.tar.gz
Zuletzt aktualisiert2026-07-04T16:53:45+09:00
Pulseupdated
Build-Abhängigkeitenpkgconf, rust
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesqlx-cli
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

sqlx-cli

nix profile install nixpkgs#sqlx-cli
  • normalized package name match
  • Abgeglichen nach: Sqlx Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sq/sqlx-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

sqlx-cli 0.9.0-1

Command-line utility for SQLx, the Rust SQL toolkit

https://github.com/launchbadge/sqlx

sudo pacman -S sqlx-cli
  • License: Apache-2.0 AND MIT
  • Architecture: x86_64
  • 4 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Sqlx Cli
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: sqlx-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
apk92%

cargo-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-sqlx
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: sqlx
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • installed executable or alias match
  • Abgeglichen nach: Cargo Sqlx
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-sqlx from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

sqlx 0.8.6-r0

Command-line utility for SQLx, the Rust SQL toolkit

https://github.com/launchbadge/sqlx

sudo apk add sqlx
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: sqlx
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • installed executable or alias match
  • Abgeglichen nach: Sqlx
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sqlx from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

sqlx-bash-completion 0.8.6-r0

Bash completions for sqlx

https://github.com/launchbadge/sqlx

sudo apk add sqlx-bash-completion
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: sqlx
  • installed executable or alias match
  • Abgeglichen nach: Sqlx
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sqlx-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

sqlx-doc 0.8.6-r0

Command-line utility for SQLx, the Rust SQL toolkit (documentation)

https://github.com/launchbadge/sqlx

sudo apk add sqlx-doc
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: sqlx
  • installed executable or alias match
  • Abgeglichen nach: Sqlx
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sqlx-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

sqlx-fish-completion 0.8.6-r0

Fish completions for sqlx

https://github.com/launchbadge/sqlx

sudo apk add sqlx-fish-completion
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: sqlx
  • installed executable or alias match
  • Abgeglichen nach: Sqlx
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sqlx-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

sqlx-zsh-completion 0.8.6-r0

Zsh completions for sqlx

https://github.com/launchbadge/sqlx

sudo apk add sqlx-zsh-completion
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: sqlx
  • installed executable or alias match
  • Abgeglichen nach: Sqlx
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sqlx-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment