macOS
brew install typstylelocal Homebrew formula metadata
brew
Beautiful and reliable typst code formatter. Version 0.15.0 via Homebrew; verified 2026-06-20.
install
brew install typstylelocal Homebrew formula metadata
sudo apk add typstyleAlpine Linux edge package indexes · typstyle · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#typstylenixpkgs package indexes · pkgs/by-name/ty/typstyle/package.nix · source: api.github.com
sudo pacman -S typstyleArch Linux sync databases · typstyle · source: geo.mirror.pkgbuild.com
scoop install main/typstyleScoop official bucket manifest trees · bucket/typstyle.json · source: api.github.com
winget install --id Enter-tainer.typstyle -eWindows Package Manager source index · Enter-tainer.typstyle · source: cdn.winget.microsoft.com
overview
Beautiful and reliable typst code formatter
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
typstyle | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/typstyle-rs/typstyle
install metadata
| Package key | brew:typstyle |
|---|---|
| Version | 0.15.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/typstyle |
| Homepage | https://typstyle-rs.github.io/typstyle/ |
| Repository | https://github.com/typstyle-rs/typstyle |
| Upstream docs | https://typstyle-rs.github.io/typstyle |
| License | Apache-2.0 |
| Source archive | https://github.com/typstyle-rs/typstyle/archive/refs/tags/v0.15.0.tar.gz |
| Last updated | 2026-06-20T10:13:01Z |
| Pulse | updated |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | typstyle |
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
typstyle
nix profile install nixpkgs#typstyletypstyle 0.12.14-r0
Beautiful and reliable typst code formatter
https://enter-tainer.github.io/typstyle/
sudo apk add typstyletypstyle 0.14.4-3
Beautiful and reliable typst code formatter
https://github.com/typstyle-rs/typstyle
sudo pacman -S typstylemain/typstyle
scoop install main/typstyleEnter-tainer.typstyle
winget install --id Enter-tainer.typstyle -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.