# Install sqlboiler with Homebrew, Nix

Generate a Go ORM tailored to your database schema. Version 4.19.7 via Homebrew; verified 2026-07-04.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install sqlboiler
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:sqlboiler
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/sqlboiler>
- **Version:** 4.19.7
- **Source summary:** Generate a Go ORM tailored to your database schema
- **Homepage:** <https://github.com/aarondl/sqlboiler>
- **Repository:** <https://github.com/aarondl/sqlboiler>
- **Upstream docs:** <https://github.com/volatiletech/sqlboiler#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/aarondl/sqlboiler/archive/refs/tags/v4.19.7.tar.gz>
- **Last updated:** 2026-07-04T16:53:45+09:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- sqlboiler (cli)
- sqlboiler-mssql (cli)
- sqlboiler-mysql (cli)
- sqlboiler-psql (cli)
- sqlboiler-sqlite3 (cli)
- sqlboiler (alias)
- sqlboiler-mssql (alias)
- sqlboiler-mysql (alias)
- sqlboiler-psql (alias)
- sqlboiler-sqlite3 (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.19.7
- Package-manager updated: 2026-07-04
- Local data: ok
- Upstream repository: https://github.com/aarondl/sqlboiler
- Upstream latest detected: v4.19.7 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

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

- **Geiger risk:** blue / medium
- 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sqlboiler
- **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:** head, stable

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [sqlc](https://www.automicvault.com/pkg/brew/sqlc/) - Shares av.db curated category or tags: cli, code-generation, database, developer-tools, go.
- [jet](https://www.automicvault.com/pkg/brew/jet/) - Shares av.db curated category or tags: cli, code-generation, database, developer-tools, go.
- [counterfeiter](https://www.automicvault.com/pkg/brew/counterfeiter/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, go.
- [dbml-cli](https://www.automicvault.com/pkg/brew/dbml-cli/) - Shares av.db curated category or tags: cli, code-generation, database, developer-tools, sql.
- [diesel](https://www.automicvault.com/pkg/brew/diesel/) - Shares av.db curated category or tags: cli, database, developer-tools, orm.
- [go-bindata](https://www.automicvault.com/pkg/brew/go-bindata/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, go.
- [goctl](https://www.automicvault.com/pkg/brew/goctl/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, go.
- [golang-migrate](https://www.automicvault.com/pkg/brew/golang-migrate/) - Shares av.db curated category or tags: cli, database, developer-tools, go.
- [gotests](https://www.automicvault.com/pkg/brew/gotests/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, code-generation, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/sqlboiler.yml](https://github.com/automic-vault/db/blob/main/combined/sqlboiler.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
