# Install kaitai-struct-compiler with Homebrew, Nix, winget

Compiler for generating binary data parsers. Version 0.11 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:kaitai-struct-compiler
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install kaitai-struct-compiler
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kaitai-struct-compiler
```

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

### Windows

- winget (92%):

```sh
winget install --id Kaitai.StructCompiler -e
```

  Evidence: Windows Package Manager source index: Kaitai.StructCompiler from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:kaitai-struct-compiler
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/kaitai-struct-compiler>
- **Version:** 0.11
- **Source summary:** Compiler for generating binary data parsers
- **Homepage:** <https://kaitai.io/>
- **Repository:** <https://github.com/kaitai-io/kaitai_struct_compiler>
- **Upstream docs:** <https://doc.kaitai.io/>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/kaitai-io/kaitai_struct_compiler/releases/download/0.11/kaitai-struct-compiler-0.11.zip>
- **Last updated:** 2026-06-22T14:03:52-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- kaitai-struct-compiler (cli)
- kaitai-struct-compiler (alias)

## Dependencies

- openjdk

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.11
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/kaitai-io/kaitai_struct_compiler
- info: No cached GitHub release or tag data was available.
## Project history and usage

Kaitai Struct Compiler turns declarative .ksy descriptions of binary formats into parser source code for multiple programming languages.

### Project history

The Kaitai project presents Kaitai Struct as a language-neutral way to describe binary layouts once and generate parsers for many target languages. The compiler is the package-manager-facing executable in that ecosystem, turning format specifications into code that reads binary files, memory layouts, and network packet structures.

### Adoption history

The project maintains official documentation, a Web IDE, and a public format gallery generated from an open repository of file-format and protocol specifications. The website lists open-source users such as Veles, mitmproxy, Kismet, Beat Link Trigger, and Hobbits, showing adoption in reverse engineering, network inspection, wireless analysis, and binary tooling.

### How it is used

Developers write a .ksy schema, run kaitai-struct-compiler, and import the generated parser into a target language. The result is especially useful when a binary format is fixed by someone else and the developer needs a maintainable parser rather than hand-written byte-offset code.

### Why package nerds care

Kaitai Struct Compiler is package-nerd catnip because it converts binary-format archaeology into reproducible build artifacts: one declarative source file can generate parsers for many language ecosystems, and the format gallery makes specifications browseable like package docs.

### Timeline

- 2015: Kaitai Project copyright period begins on the official site.
- 2020-10-16: Kaitai Struct v0.9 release notes announced a major release and documentation/CI changes.
- 2022-07-08: Compiler release 0.10 published.
- 2025-09-07: Compiler release 0.11 published.

### Related projects

- Related projects include the Kaitai Struct Web IDE, the formats.kaitai.io gallery, the kaitai_struct_formats repository, Veles, mitmproxy, Kismet, and other binary-analysis tools.

### Sources

- <https://api.github.com/repos/kaitai-io/kaitai_struct_compiler/releases?per_page=100>
- <https://doc.kaitai.io/>
- <https://github.com/kaitai-io/kaitai_struct_compiler/releases>
- <https://kaitai.io/>
- <https://kaitai.io/news/2020/10/16/kaitai-struct-v0.9-released.html>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kaitai-struct-compiler
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - kaitai-struct-compiler: normalized package name match | nixpkgs package indexes: pkgs/by-name/ka/kaitai-struct-compiler/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - Kaitai.StructCompiler: normalized package name match | Windows Package Manager source index: Kaitai.StructCompiler from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [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.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openjdk](https://www.automicvault.com/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [ragel](https://www.automicvault.com/pkg/brew/ragel/) - Shares av.db curated category or tags: cli, code-generation, compiler, developer-tools.
- [blueprint-compiler](https://www.automicvault.com/pkg/brew/blueprint-compiler/) - Shares av.db curated category or tags: cli, code-generation, compiler, developer-tools.
- [dhall-bash](https://www.automicvault.com/pkg/brew/dhall-bash/) - Shares av.db curated category or tags: cli, code-generation, compiler, developer-tools.
- [flatbuffers](https://www.automicvault.com/pkg/brew/flatbuffers/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, serialization.
- [swift-protobuf](https://www.automicvault.com/pkg/brew/swift-protobuf/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, serialization.
- [thriftgo](https://www.automicvault.com/pkg/brew/thriftgo/) - Shares av.db curated category or tags: cli, code-generation, compiler, developer-tools.
- [autogen](https://www.automicvault.com/pkg/brew/autogen/) - Shares av.db curated category or tags: cli, code-generation, developer-tools.
- [capnp](https://www.automicvault.com/pkg/brew/capnp/) - Shares av.db curated category or tags: binary-format, cli, developer-tools, serialization.
- [jsonschema2pojo](https://www.automicvault.com/pkg/brew/jsonschema2pojo/) - Local package facts share a topical domain. Shared terms: cli, code, code-generation, developer, developer-tools.
- [openapi-generator](https://www.automicvault.com/pkg/brew/openapi-generator/) - Local package facts share a topical domain. Shared terms: cli, code, code-generation, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/kaitai-struct-compiler.yml](https://github.com/automic-vault/db/blob/main/combined/kaitai-struct-compiler.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
