# Install jet with Homebrew, MacPorts, Nix

Type safe SQL builder with code generation and auto query result data mapping. Version 2.15.0 via Homebrew; verified 2026-05-21.

## Install

```sh
sudo av install brew:jet
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jet
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jet
```

  Evidence: MacPorts ports tree: textproc/jet/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#jet
```

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

## Package facts

- **Package key:** brew:jet
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jet>
- **Version:** 2.15.0
- **Source summary:** Type safe SQL builder with code generation and auto query result data mapping
- **Homepage:** <https://github.com/go-jet/jet>
- **Repository:** <https://github.com/go-jet/jet>
- **Upstream docs:** <https://github.com/go-jet/jet#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/go-jet/jet/archive/refs/tags/v2.15.0.tar.gz>
- **Last updated:** 2026-05-21T15:06:46Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- jet (cli)
- jet (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: 2.15.0
- Package-manager updated: 2026-05-21
- Local data: ok
- Upstream repository: https://github.com/go-jet/jet
- Upstream latest detected: v2.15.0 (current)
## Project history and usage

Jet is a Go database access toolkit built around code generation, type-safe SQL builders, and automatic query result mapping. Its README is explicit that Jet is not an ORM; the package instead generates Go types from database metadata so queries can be written as Go code that resembles SQL.

### Project history

The go-jet/jet repository was created in 2019 and reached a 1.0 GitHub release the same year. The 2.x line also began in 2019, establishing the module path used by the documented `go install github.com/go-jet/jet/v2/cmd/jet` workflow.

The project evolved as a generator plus runtime library. Release history and documentation show continuing additions around SQL dialect features, result mapping, and database support, with PostgreSQL, MySQL, SQLite, CockroachDB, and MariaDB represented across the README and wiki.

### Adoption history

Jet fits a Go community preference for explicit SQL and compile-time feedback. It occupies a middle position between handwritten `database/sql` calls, ORMs, and SQL-code generators: users still write query structure in Go, but the table, column, enum, and model types are generated from the database.

Homebrew, MacPorts, and Nix metadata in the input show adoption as a developer command as well as a Go library dependency. The formula packages the `jet` generator executable, which is the visible tool most package-manager users install.

### How it is used

The documented workflow is to install the generator, point it at a running database or SQLite file, and choose an output path such as `./.gen`. Jet then generates SQL builder and model packages, after which application code imports those packages and builds typed SELECT, INSERT, UPDATE, DELETE, LOCK, and WITH statements.

### Why package nerds care

Jet is package-nerd notable because the command name is tiny and generic, but the package represents a very specific Go database philosophy: generate just enough schema-aware code to make SQL construction typed while avoiding a full ORM identity map.

### Timeline

- 2019: Public GitHub repository created for go-jet/jet.
- 2019: v1.0.0 and v2.0.0 releases published on GitHub.
- 2020: v2.4.0 release published on GitHub.
- 2025: v2.13.0 release published with additional SQL-builder features.

### Related projects

- Jet is closely related to Go's `database/sql` package, PostgreSQL, MySQL, SQLite, CockroachDB, and MariaDB. It also sits in the same problem space as sqlc and Go ORMs, but its README distinguishes it from ORMs.

### Sources

- <https://api.github.com/repos/go-jet/jet>
- <https://formulae.brew.sh/formula/jet>
- <https://github.com/go-jet/jet>
- <https://github.com/go-jet/jet/releases>
- <https://github.com/go-jet/jet/wiki>
- <https://github.com/go-jet/jet/wiki/Generator>


## Security Notes

No matching local secret-handling manifest was found for jet. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** jet
- **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 - jet: normalized package name match | nixpkgs package indexes: pkgs/by-name/je/jet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - jet: normalized package name match | MacPorts ports tree: textproc/jet/Portfile from https://api.github.com/repos/macports/macports-ports/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.
- [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.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [sqlboiler](https://www.automicvault.com/pkg/brew/sqlboiler/) - Shares av.db curated category or tags: cli, code-generation, database, developer-tools, go.
- [sqlc](https://www.automicvault.com/pkg/brew/sqlc/) - Shares av.db curated category or tags: cli, code-generation, database, 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, query-builder.
- [golang-migrate](https://www.automicvault.com/pkg/brew/golang-migrate/) - Shares av.db curated category or tags: cli, database, developer-tools, go.
- [sql-migrate](https://www.automicvault.com/pkg/brew/sql-migrate/) - Shares av.db curated category or tags: cli, database, developer-tools, go, sql.
- [sqlcmd](https://www.automicvault.com/pkg/brew/sqlcmd/) - Shares av.db curated category or tags: cli, database, developer-tools, go.
- [sqldiff](https://www.automicvault.com/pkg/brew/sqldiff/) - Shares av.db curated category or tags: cli, database, developer-tools, sql.
- [counterfeiter](https://www.automicvault.com/pkg/brew/counterfeiter/) - 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/jet.yml](https://github.com/automic-vault/db/blob/main/combined/jet.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
