macOS
brew install sqlclocal Homebrew formula metadata
sudo port install sqlcMacPorts ports tree · devel/sqlc/Portfile · ソース: api.github.com
brew
sqlc のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install sqlclocal Homebrew formula metadata
sudo port install sqlcMacPorts ports tree · devel/sqlc/Portfile · ソース: api.github.com
nix profile install nixpkgs#sqlcnixpkgs package indexes · pkgs/by-name/sq/sqlc/package.nix · ソース: api.github.com
sudo pacman -S sqlcArch Linux sync databases · sqlc · ソース: geo.mirror.pkgbuild.com
scoop install main/sqlcScoop official bucket manifest trees · bucket/sqlc.json · ソース: api.github.com
概要
Generate type safe Go from SQL
履歴
sqlc is a command-line SQL compiler that generates type-safe application code from handwritten SQL queries. It began in the Go ecosystem and later expanded its generator model beyond Go.
The sqlc repository was created in 2019. Its first public GitHub release, v0.1.0, appeared in January 2020, followed by v1.0.0 in February 2020.
The project documentation now describes a configuration-driven compiler with support for PostgreSQL, MySQL, and SQLite inputs, plus generator plugins for languages beyond the original Go target.
sqlc found a niche among developers who wanted to keep SQL as the source of truth while avoiding hand-written row scanning and fragile stringly typed database code. The input package metadata lists Homebrew, MacPorts, Nix, Arch, and Scoop packaging, showing broad CLI distribution across Unix-like and Windows package-manager ecosystems.
A common workflow is to write schema and query SQL files, configure them in sqlc.yaml, sqlc.yml, or sqlc.json, and run sqlc to produce typed query methods used by application code.
Package nerds care about sqlc because it turns SQL into a build-time artifact. It fits neatly into reproducible developer environments, CI checks, and generated-code workflows without requiring a running ORM runtime.
セキュリティ状態
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.
Config paths the tool may read or write during local use.
sqlc.yamlsqlc.ymlsqlc.json実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
sqlc | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/sqlc-dev/sqlc
インストールメタデータ
| パッケージキー | brew:sqlc |
|---|---|
| バージョン | 1.31.1 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/sqlc |
| ホームページ | https://sqlc.dev/ |
| リポジトリ | https://github.com/sqlc-dev/sqlc |
| 上流ドキュメント | https://docs.sqlc.dev/en/stable |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/sqlc-dev/sqlc/archive/refs/tags/v1.31.1.tar.gz |
| ビルド依存関係 | go |
| 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 | sqlc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
sqlc
nix profile install nixpkgs#sqlcsqlc 1.31.1-1
Compile SQL to type-safe Go
sudo pacman -S sqlcsqlc
sudo port install sqlcmain/sqlc
scoop install main/sqlcソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.