macOS
brew install sqlx-clilocal Homebrew formula metadata
brew
sqlx-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install sqlx-clilocal Homebrew formula metadata
nix profile install nixpkgs#sqlx-clinixpkgs package indexes · pkgs/by-name/sq/sqlx-cli/package.nix · ソース: api.github.com
sudo pacman -S sqlx-cliArch Linux sync databases · sqlx-cli · ソース: geo.mirror.pkgbuild.com
sudo apk add cargo-sqlxAlpine Linux edge package indexes · cargo-sqlx · ソース: dl-cdn.alpinelinux.org
概要
Command-line utility for SQLx, the Rust SQL toolkit
履歴
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.
セキュリティ状態
broad file, network, media, or database tool signal.
リスク blue · 信頼度 中 · tool
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.
.env実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
cargo-sqlx | cli | グローバル実行可能ファイル | |
sqlx | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/transact-rs/sqlx
インストールメタデータ
| パッケージキー | brew:sqlx-cli |
|---|---|
| バージョン | 0.9.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/sqlx-cli |
| ホームページ | https://github.com/transact-rs/sqlx |
| リポジトリ | https://github.com/transact-rs/sqlx |
| 上流ドキュメント | https://github.com/transact-rs/sqlx#readme |
| ライセンス | Apache-2.0 OR MIT |
| ソースアーカイブ | https://github.com/transact-rs/sqlx/archive/refs/tags/v0.9.0.tar.gz |
| 最終更新 | 2026-07-04T16:53:45+09:00 |
| Pulse | updated |
| ビルド依存関係 | pkgconf, rust |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-completionソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.