# sqlboiler を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:sqlboiler
```

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

### macOS

- Homebrew (100%):

```sh
brew install sqlboiler
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#sqlboiler
```

  証拠: nixpkgs package indexes: pkgs/by-name/sq/sqlboiler/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:sqlboiler
- **パッケージマネージャ:** Homebrew
- **バージョン:** 4.19.7
- **ソース概要:** Generate a Go ORM tailored to your database schema
- **ホームページ:** <https://github.com/aarondl/sqlboiler>
- **リポジトリ:** <https://github.com/aarondl/sqlboiler>
- **最終更新:** 2026-07-26T04:03:44+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- sqlboiler (エイリアス)
- sqlboiler-mssql (エイリアス)
- sqlboiler-mysql (エイリアス)
- sqlboiler-psql (エイリアス)
- sqlboiler-sqlite3 (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 4.19.7
## プロジェクトの歴史と使われ方

SQLBoiler is a database-first Go ORM generator: users point it at an existing schema and it generates Go models, query helpers, and database-specific code rather than asking developers to describe the schema in Go structs.

### プロジェクトの歴史

The project appeared publicly on GitHub in 2016 and its first GitHub release was tagged v1.0.0 in September 2016. Its README explains that it grew out of an attempt to bring ActiveRecord-like productivity to Go while avoiding reflection-heavy, code-first ORM designs.

By the maintained v4 line, SQLBoiler had moved with the Go ecosystem toward Go modules; the README notes that v3 was the last GOPATH-compatible version and that v4 is the maintained version.

### 採用の歴史

SQLBoiler became one of the recognizable Go database code-generation tools, especially for teams with existing PostgreSQL, MySQL, SQL Server, or SQLite schemas. The input package metadata lists Homebrew and Nix packaging, which reflects its use as an installable developer CLI rather than only a Go library.

### 使われ方

Typical use starts with a database schema and a sqlboiler.toml file, then runs the sqlboiler CLI with a database driver such as sqlboiler-psql, sqlboiler-mysql, sqlboiler-mssql, or sqlboiler-sqlite3 to regenerate models as the schema changes.

### パッケージ好きにとっての重要性

Package-manager users care about SQLBoiler because it is a classic generated-code CLI: installing the formula gives repeatable access to the generator and its driver commands without making every project vendor a local toolchain bootstrap step.

### タイムライン

- 2016: GitHub repository created.
- 2016: v1.0.0 tagged as the initial release.
- v4 era: Go modules become the maintained line; v3 remains the last GOPATH-compatible line.
- Current README: project is in maintenance mode and points active-development users toward alternatives such as Bob and sqlc.

### Related projects

- The README contrasts SQLBoiler with code-first Go ORMs such as gorm and gorp, and lists Bob and sqlc as alternatives for users who want active development or a non-ORM SQL compiler approach.

### ソース

- <https://api.github.com/repos/aarondl/sqlboiler/releases>
- <https://api.github.com/repos/volatiletech/sqlboiler>
- <https://github.com/volatiletech/sqlboiler#readme>
- input.source_facts.package-manager


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


## 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

- Unix: sqlboiler.toml, $XDG_CONFIG_HOME/sqlboiler/sqlboiler.toml, ~/.config/sqlboiler/sqlboiler.toml

## Credential files

- Unix: sqlboiler.toml, $XDG_CONFIG_HOME/sqlboiler/sqlboiler.toml, ~/.config/sqlboiler/sqlboiler.toml
## 他のパッケージマネージャ記録

- Nix - sqlboiler: normalized package name match | nixpkgs package indexes: pkgs/by-name/sq/sqlboiler/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/sqlboiler.yml](https://github.com/mxcl/pkgdb/blob/main/combined/sqlboiler.yml)


## ソース

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