pkg.soopen package index

brew / 順位 1494

sqlc を Homebrew, MacPorts, Nix, pacman, scoop でインストール

sqlc のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install sqlc

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install sqlc

MacPorts ports tree · devel/sqlc/Portfile · ソース: api.github.com

Windows

Scoop確認済み · 92%
scoop install main/sqlc

Scoop official bucket manifest trees · bucket/sqlc.json · ソース: api.github.com

概要

パッケージ概要

Generate type safe Go from SQL

コマンドとエイリアス

  • sqlc

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2019: GitHub repository created.
  • 2020: v0.1.0 released.
  • 2020: v1.0.0 released.
  • Current docs: configuration centers on sqlc.(yaml|yml) or sqlc.json and supports plugins and multiple language targets.

Related projects

  • The SQLBoiler README lists sqlc as an alternative for users who want type-safe SQL-generated code without an ORM model. sqlc's own README lists sqlc-gen-go, sqlc-gen-kotlin, sqlc-gen-python, and sqlc-gen-typescript as supported language generator projects.

セキュリティ状態

リスクレベル: blue

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

リスク分類器

リスク blue · 信頼度 中 · tool

理由

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

信号

  • text:sql

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
sqlc.yamlsqlc.ymlsqlc.json

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
sqlc実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版1.31.1
マネージャ更新日2026-07-26
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:sqlc
バージョン1.31.1
パッケージマネージャHomebrew
ホームページhttps://sqlc.dev/
リポジトリhttps://github.com/sqlc-dev/sqlc
最終更新2026-07-26T04:03:45+02:00
Pulseupdated
Bottle未記録
サービス宣言なし

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

sqlc

nix profile install nixpkgs#sqlc
  • normalized package name match
  • 一致条件: Sqlc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sq/sqlc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

sqlc 1.31.1-1

Compile SQL to type-safe Go

https://sqlc.dev

sudo pacman -S sqlc
  • License: MIT
  • Architecture: x86_64
  • 1 依存関係
  • normalized package name match
  • 一致条件: Sqlc
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: sqlc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

sqlc

sudo port install sqlc
  • normalized package name match
  • 一致条件: Sqlc
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/sqlc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/sqlc

scoop install main/sqlc
  • normalized package name match
  • 一致条件: Sqlc
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/sqlc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation