# typstyle を Homebrew, apk, Nix, pacman, scoop, winget でインストール

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

## インストール

```sh
sudo av install brew:typstyle
```

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

### macOS

- Homebrew (100%):

```sh
brew install typstyle
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add typstyle
```

  証拠: Alpine Linux edge package indexes: typstyle from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#typstyle
```

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

- pacman (92%):

```sh
sudo pacman -S typstyle
```

  証拠: Arch Linux sync databases: typstyle from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/typstyle
```

  証拠: Scoop official bucket manifest trees: bucket/typstyle.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Enter-tainer.typstyle -e
```

  証拠: Windows Package Manager source index: Enter-tainer.typstyle from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:typstyle
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.15.1
- **ソース概要:** Beautiful and reliable typst code formatter
- **ホームページ:** <https://typstyle-rs.github.io/typstyle/>
- **リポジトリ:** <https://github.com/typstyle-rs/typstyle>
- **最終更新:** 2026-08-02T07:22:36Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- typstyle (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

typstyle is an opinionated formatter for Typst source code. It belongs to the familiar package-manager niche of language-specific formatters: small executable, editor and CI integration, check/diff modes, and minimal configuration.

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

The typstyle repository was created in March 2024. Its README says the project was started because existing Typst formatters were not a good fit for experiments with Wadler-style pretty printing, limited configuration, and stronger formatter correctness testing.

The project describes its goals as opinionated formatting, formatting code rather than prose content, convergence after repeated runs, and preserving rendered output. Its documentation and README also present it as a CLI, Rust library, WebAssembly package, playground, editor formatter through Tinymist, GitHub Action, and pre-commit hook.

### 採用の歴史

The README documents installation from GitHub releases, package managers through Repology, cargo-binstall, and Cargo. The batch package facts show Homebrew, Nix, Arch, Scoop, winget, and apk packaging, which is typical for a formatter that becomes useful once a document language gains enough users.

typstyle's adoption is closely tied to Typst's growth: it formats `.typ` files for local development, editor integrations, pre-commit hooks, and CI checks rather than serving as a standalone document authoring system.

### 使われ方

Typical usage is `typstyle -i file.typ` to rewrite files, plain `typstyle file.typ` to print formatted output, `--check` for CI, and `--diff` to inspect changes. The README also documents line width, indent width, import reordering, text wrapping, and escape-hatch comments.

For package-oriented workflows, typstyle is useful because it can be installed as a normal CLI, run in pre-commit, integrated into Tinymist, or invoked through a GitHub Action without adding a larger build framework.

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

typstyle is significant as part of the maturing Typst ecosystem: once a document language gets package managers, editor support, and CI use, a formatter becomes infrastructure. It is also a good example of Rust CLI distribution spanning crates.io, binary releases, Homebrew, distro packages, and WebAssembly.

### タイムライン

- 2024-03-09: typstyle-rs/typstyle GitHub repository created.
- 2025: README documents editor, web, GitHub Action, and pre-commit integration surfaces.
- 2026-06-20: v0.15.0 released after Typst 0.15 support.

### Related projects

- Typst is the source language typstyle formats.
- Tinymist is the editor integration path named by the README.
- typstyle-action, pre-commit-typstyle, and typstyle-tampermonkey are companion projects in the typstyle-rs organization.

### ソース

- <https://api.github.com/repos/typstyle-rs/typstyle>
- <https://api.github.com/repos/typstyle-rs/typstyle/releases>
- <https://github.com/typstyle-rs/typstyle>
- <https://typstyle-rs.github.io/typstyle/>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - typstyle: normalized package name match | nixpkgs package indexes: pkgs/by-name/ty/typstyle/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - typstyle - 0.12.14-r0: normalized package name match | Alpine Linux edge package indexes: typstyle from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Beautiful and reliable typst code formatter | https://enter-tainer.github.io/typstyle/
- pacman - typstyle - 0.15.0-1: normalized package name match | Arch Linux sync databases: typstyle from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Beautiful and reliable typst code formatter | https://github.com/typstyle-rs/typstyle
- Scoop - main/typstyle: normalized package name match | Scoop official bucket manifest trees: bucket/typstyle.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Enter-tainer.typstyle: normalized package name match | Windows Package Manager source index: Enter-tainer.typstyle from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/typstyle.yml](https://github.com/mxcl/pkgdb/blob/main/combined/typstyle.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
