Automic VaultAutomic Vault

brew

sqlc mit Homebrew, MacPorts, Nix, pacman, scoop installieren

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

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install sqlc

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install sqlc

MacPorts ports tree · devel/sqlc/Portfile · Quelle: api.github.com

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#sqlc

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

Arch Linux pacmanverifiziert · 92%
sudo pacman -S sqlc

Arch Linux sync databases · sqlc · Quelle: geo.mirror.pkgbuild.com

Windows

Scoopverifiziert · 92%
scoop install main/sqlc

Scoop official bucket manifest trees · bucket/sqlc.json · Quelle: api.github.com

Überblick

Paketzusammenfassung

Generate type safe Go from SQL

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 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.

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 1 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.

Configuration files

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

Unix
sqlc.yamlsqlc.ymlsqlc.json

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
sqlccliglobales 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-Version1.31.1
Manager aktualisiert
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv1.31.1

https://github.com/sqlc-dev/sqlc

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:sqlc
Version1.31.1
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/sqlc
Homepagehttps://sqlc.dev/
Repositoryhttps://github.com/sqlc-dev/sqlc
Upstream-Dokumentationhttps://docs.sqlc.dev/en/stable
LizenzMIT
Quellarchivhttps://github.com/sqlc-dev/sqlc/archive/refs/tags/v1.31.1.tar.gz
Build-Abhängigkeitengo
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 Namesqlc
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

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

Nix95%

sqlc

nix profile install nixpkgs#sqlc
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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

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