macOS
brew install sqlclocal Homebrew formula metadata
sudo port install sqlcMacPorts ports tree · devel/sqlc/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für sqlc in AI-Agent-Workflows.
Installation
brew install sqlclocal Homebrew formula metadata
sudo port install sqlcMacPorts ports tree · devel/sqlc/Portfile · Quelle: api.github.com
nix profile install nixpkgs#sqlcnixpkgs package indexes · pkgs/by-name/sq/sqlc/package.nix · Quelle: api.github.com
sudo pacman -S sqlcArch Linux sync databases · sqlc · Quelle: geo.mirror.pkgbuild.com
scoop install main/sqlcScoop official bucket manifest trees · bucket/sqlc.json · Quelle: api.github.com
Überblick
Generate type safe Go from SQL
Verlauf
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.
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.
Config paths the tool may read or write during local use.
sqlc.yamlsqlc.ymlsqlc.jsonExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
sqlc | 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/sqlc-dev/sqlc
Installationsmetadaten
| Paketschlüssel | brew:sqlc |
|---|---|
| Version | 1.31.1 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/sqlc |
| Homepage | https://sqlc.dev/ |
| Repository | https://github.com/sqlc-dev/sqlc |
| Upstream-Dokumentation | https://docs.sqlc.dev/en/stable |
| Lizenz | MIT |
| Quellarchiv | https://github.com/sqlc-dev/sqlc/archive/refs/tags/v1.31.1.tar.gz |
| Build-Abhängigkeiten | go |
| 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 | 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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/sqlcQuellspur
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.