pkg.soopen package index

brew / 排名 3358

使用 Homebrew, apk, Nix, pacman, scoop, winget 安装 typstyle

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install typstyle

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add typstyle

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

Nix已验证 · 92%
nix profile install nixpkgs#typstyle

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

Arch Linux pacman已验证 · 92%
sudo pacman -S typstyle

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

Windows

Scoop已验证 · 92%
scoop install main/typstyle

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

Windows Package Manager已验证 · 92%
winget install --id Enter-tainer.typstyle -e

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

概览

软件包摘要

Beautiful and reliable typst code formatter

命令和别名

  • typstyle

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
typstyle可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本0.15.1
管理器更新时间2026-08-02
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:typstyle
版本0.15.1
软件包管理器Homebrew
主页https://typstyle-rs.github.io/typstyle/
仓库https://github.com/typstyle-rs/typstyle
最后更新2026-08-02T07:22:36Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

typstyle

nix profile install nixpkgs#typstyle
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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.15.0-1

Beautiful and reliable typst code formatter

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

sudo pacman -S typstyle
  • License: Apache-2.0
  • Architecture: x86_64
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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