# 使用 Homebrew, Nix 安装 typical

查看 typical 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:typical
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install typical
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#typical
```

  证据: nixpkgs package indexes: pkgs/by-name/ty/typical/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:typical
- **软件包管理器:** Homebrew
- **版本:** 0.16.0
- **来源摘要:** Data interchange with algebraic data types
- **主页:** <https://github.com/stepchowfun/typical>
- **仓库:** <https://github.com/stepchowfun/typical>
- **最后更新:** 2026-07-09T08:51:38Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- typical (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.16.0
## 项目历史与用法

Typical is a data-interchange and serialization framework centered on algebraic data types. It defines schemas, then generates serialization and deserialization code for supported languages.

### 项目历史

The public repository was created in March 2021. Its README presents Typical as a comparison point to Protocol Buffers and Apache Thrift, but with a type system emphasizing non-nullable values, exhaustive pattern matching, and safe schema evolution through asymmetric fields.

The README says the design was informed by experience using Protocol Buffers at Google and Apache Thrift at Airbnb, while clarifying that Typical is not an officially supported product of either company.

### 采用历史

Official adoption evidence is limited. The batch input lists Homebrew and Nix packages, and GitHub release metadata shows continued releases into 2026, including v0.15.0 in April 2026.

### 使用方式

Users write a schema file such as `types.t`, run commands like `typical format` or `typical generate`, and produce Rust and TypeScript or JavaScript-facing code for binary-compatible message storage or service boundaries.

### 为什么软件包爱好者会关心

Typical is interesting to package-focused developers because it packages an opinionated IDL/code-generation stack as a CLI. It sits in the small space between mainstream schema compilers and language-specific serialization libraries, appealing to users who want stronger ADT semantics in generated code.

### 时间线

- 2021: Public GitHub repository created.
- 2023: v0.9.x releases published.
- 2024: v0.10.0 through v0.12.1 releases published.
- 2026: v0.15.0 published.

### Related projects

- The README explicitly compares Typical with Protocol Buffers and Apache Thrift, while positioning its type-system choices closer to languages such as Rust and Haskell.

### 来源

- <https://api.github.com/repos/stepchowfun/typical>
- <https://api.github.com/repos/stepchowfun/typical/releases>
- <https://github.com/stepchowfun/typical#readme>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - typical: normalized package name match | nixpkgs package indexes: pkgs/by-name/ty/typical/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/typical.yml](https://github.com/mxcl/pkgdb/blob/main/combined/typical.yml)


## 来源

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