Automic VaultAutomic Vault

brew

Install typstyle with Homebrew, apk, Nix, pacman, scoop, winget

Beautiful and reliable typst code formatter. Version 0.15.0 via Homebrew; verified 2026-06-20.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install typstyle

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add typstyle

Alpine Linux edge package indexes · typstyle · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#typstyle

nixpkgs package indexes · pkgs/by-name/ty/typstyle/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S typstyle

Arch Linux sync databases · typstyle · source: geo.mirror.pkgbuild.com

Windows

Scoopverified · 92%
scoop install main/typstyle

Scoop official bucket manifest trees · bucket/typstyle.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id Enter-tainer.typstyle -e

Windows Package Manager source index · Enter-tainer.typstyle · source: cdn.winget.microsoft.com

overview

Package summary

Beautiful and reliable typst code formatter

Commands and aliases

  • typstyle

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
typstylecliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.15.0
manager updated2026-06-20
local dataok
upstreamcurrent
latest detectedv0.15.0

https://github.com/typstyle-rs/typstyle

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:typstyle
Version0.15.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/typstyle
Homepagehttps://typstyle-rs.github.io/typstyle/
Repositoryhttps://github.com/typstyle-rs/typstyle
Upstream docshttps://typstyle-rs.github.io/typstyle
LicenseApache-2.0
Source archivehttps://github.com/typstyle-rs/typstyle/archive/refs/tags/v0.15.0.tar.gz
Last updated2026-06-20T10:13:01Z
Pulseupdated
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametypstyle
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

typstyle

nix profile install nixpkgs#typstyle
  • normalized package name match
  • Matched by: Typstyle
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ty/typstyle/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

typstyle 0.12.14-r0

Beautiful and reliable typst code formatter

https://enter-tainer.github.io/typstyle/

sudo apk add typstyle
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: typstyle
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Typstyle
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: typstyle from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

typstyle 0.14.4-3

Beautiful and reliable typst code formatter

https://github.com/typstyle-rs/typstyle

sudo pacman -S typstyle
  • License: Apache-2.0
  • Architecture: x86_64
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Typstyle
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: typstyle from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Scoop95%

main/typstyle

scoop install main/typstyle
  • normalized package name match
  • Matched by: Typstyle
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/typstyle.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Enter-tainer.typstyle

winget install --id Enter-tainer.typstyle -e
  • normalized package name match
  • Matched by: Typstyle
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Enter-tainer.typstyle from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment