Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix, pacman, zypper, scoop, winget 安装 typst

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install typst

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install typst

MacPorts ports tree · textproc/typst/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

openSUSE zypper已验证 · 92%
sudo zypper install typst

openSUSE Tumbleweed package metadata · typst · 来源: download.opensuse.org

Windows

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

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

Windows Package Manager已验证 · 92%
winget install --id Typst.Typst -e

Windows Package Manager source index · Typst.Typst · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Markup-based typesetting system

命令和别名

  • typst

历史

项目历史与用法

Typst is a markup-based typesetting system and local CLI for compiling documents to PDF and other outputs. In package-manager culture it sits in the same practical niche as TeX engines, Pandoc-adjacent document tools, and reproducible document-build chains, but with a newer language, integrated scripting, fast incremental compilation, and an official online editor.

项目历史

The public Typst compiler repository was created in September 2019. The official README describes Typst as a markup-based typesetting system intended to be as powerful as LaTeX while being easier to learn and use, with built-in markup, scripting, math typesetting, bibliography management, and incremental compilation.

Typst opened its public beta and made the compiler open source on March 21, 2023, after a closed preview period. The launch post positioned the compiler as the foundation of the web app and emphasized that open sourcing it meant users could always compile their documents locally.

The 0.1.0 changelog followed on April 4, 2023 and already treated the command-line interface as a first-class surface, documenting `typst compile`, `typst watch`, `typst fonts`, error exit behavior, standard output/input improvements, and direct PDF opening. By 0.15.0 in June 2026, the official changelog covered language, compiler, CLI, HTML, PDF, SVG, PNG, bundle export, fonts, and migration changes.

采用历史

Typst's adoption path combined a hosted collaborative editor with a standalone open-source compiler. The README points users to official release binaries, `typst update`, Homebrew, winget, Cargo, Nix, Docker, and Repology-tracked distribution packages; the batch package facts also show packaging across Homebrew, MacPorts, Nix, Arch, Scoop, winget, apk, and openSUSE-related metadata.

For package users, the important adoption milestone was not only that Typst existed as a web app, but that the compiler became a normal local executable. That let editors, CI jobs, document templates, and package managers standardize on `typst compile` and `typst watch` without depending on the hosted service.

使用方式

Typical local use is to run `typst compile file.typ` to produce a PDF, or `typst watch file.typ` during editing for incremental recompilation. The README also documents font discovery, custom font paths, environment-variable font paths, and the `typst fonts` command, all of which matter for reproducible builds.

In the package-nerd niche, Typst is often treated as a build tool: install the compiler with the system package manager, pin it in Nix or CI, compile `.typ` sources, and optionally use the Typst Universe ecosystem for templates and packages.

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

Typst matters to package maintainers because it is a young document tool that quickly acquired the distribution surface of an established CLI: official binaries, Rust crates, Homebrew, winget, Nix, containers, and distro packages. It also created a small ecosystem of adjacent tools, including formatters, language-server integrations, GitHub Actions, and template/package distribution.

时间线

  • 2019: Public typst/typst GitHub repository created.
  • 2023-03-21: Typst public beta launched and the compiler was open-sourced.
  • 2023-04-04: Typst 0.1.0 changelog documented the new subcommand-based CLI.
  • 2026-06-15: Typst 0.15.0 released with broader export, CLI, language, and migration changes.

Related projects

  • LaTeX is the main historical comparison point named by Typst's README.
  • Tinymist is the community language-server/editor integration named by the Typst README.
  • Typstyle is an adjacent formatter for Typst source code.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
typstcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本0.15.1
管理器更新时间2026-07-17
本地数据OK
上游当前
检测到的最新版本v0.15.1

https://github.com/typst/typst

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:typst
版本0.15.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/typst
主页https://typst.app/
仓库https://github.com/typst/typst
上游文档https://typst.app/docs
许可证Apache-2.0
源码归档https://github.com/typst/typst/archive/refs/tags/v0.15.1.tar.gz
最后更新2026-07-17T13:00:06Z
Pulseupdated
构建依赖pkgconf, rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

typst

nix profile install nixpkgs#typst
  • normalized package name match
  • 匹配方式:Typst
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ty/typst/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

typst 0.14.2-r0

New markup-based typesetting system that is powerful and easy to learn

https://github.com/typst/typst

sudo apk add typst
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: typst
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Typst
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: typst from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

typst-bash-completion 0.14.2-r0

Bash completions for typst

https://github.com/typst/typst

sudo apk add typst-bash-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: typst
  • normalized package name match
  • 匹配方式:Typst
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: typst-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

typst-doc 0.14.2-r0

New markup-based typesetting system that is powerful and easy to learn (documentation)

https://github.com/typst/typst

sudo apk add typst-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: typst
  • normalized package name match
  • 匹配方式:Typst
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: typst-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

typst-fish-completion 0.14.2-r0

Fish completions for typst

https://github.com/typst/typst

sudo apk add typst-fish-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: typst
  • normalized package name match
  • 匹配方式:Typst
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: typst-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

typst-zsh-completion 0.14.2-r0

Zsh completions for typst

https://github.com/typst/typst

sudo apk add typst-zsh-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: typst
  • normalized package name match
  • 匹配方式:Typst
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: typst-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

typst 1:0.14.2-2

A markup-based typesetting system for the sciences

https://typst.app

sudo pacman -S typst
  • License: Apache-2.0
  • Architecture: x86_64
  • 6 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Typst
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: typst from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

hayagriva 0.14.2-2.2

Standalone CLI of built-in bibliography management tool

https://github.com/typst/typst

sudo zypper install hayagriva
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: typst
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Typst
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: hayagriva from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

typst 0.14.2-2.2

A new markup-based typesetting system that is powerful and easy to learn

https://github.com/typst/typst

sudo zypper install typst
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: typst
  • 5 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Typst
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: typst from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

typst-bash-completion 0.14.2-2.2

Bash Completion for typst

https://github.com/typst/typst

sudo zypper install typst-bash-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: typst
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Typst
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: typst-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

typst-fish-completion 0.14.2-2.2

Fish Completion for typst

https://github.com/typst/typst

sudo zypper install typst-fish-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: typst
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Typst
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: typst-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

typst-zsh-completion 0.14.2-2.2

Zsh Completion for typst

https://github.com/typst/typst

sudo zypper install typst-zsh-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: typst
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Typst
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: typst-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

typst

sudo port install typst
  • normalized package name match
  • 匹配方式:Typst
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/typst/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/typst

scoop install main/typst
  • normalized package name match
  • 匹配方式:Typst
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/typst.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Typst.Typst

winget install --id Typst.Typst -e
  • normalized package name match
  • 匹配方式:Typst
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Typst.Typst from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

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

使用的来源

  • 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