# 使用 Homebrew, apk, MacPorts, Nix, pacman, scoop 安装 tectonic

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

## 安装

```sh
sudo av install brew:tectonic
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tectonic
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tectonic
```

  证据: MacPorts ports tree: tex/tectonic/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add tectonic
```

  证据: Alpine Linux edge package indexes: tectonic from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#tectonic
```

  证据: nixpkgs package indexes: pkgs/by-name/te/tectonic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S tectonic
```

  证据: Arch Linux sync databases: tectonic from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/tectonic
```

  证据: Scoop official bucket manifest trees: bucket/tectonic.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:tectonic
- **软件包管理器:** Homebrew
- **版本:** 0.17.0
- **来源摘要:** Modernized, complete, self-contained TeX/LaTeX engine
- **主页:** <https://tectonic-typesetting.github.io/>
- **仓库:** <https://github.com/tectonic-typesetting/tectonic>
- **最后更新:** 2026-07-27T04:14:39Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- nextonic (别名)
- tectonic (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.17.0
## 项目历史与用法

Tectonic is a modernized TeX/LaTeX engine built on XeTeX and TeX Live, packaged as a self-contained command-line tool. Its appeal to package-manager users is that it replaces large, mutable TeX installations with a reproducible binary that can fetch bundles and compile documents with fewer local setup steps.

### 项目历史

The Tectonic repository was created in 2016. The project describes itself as a modernized, complete, self-contained TeX/LaTeX engine powered by XeTeX and TeX Live. Its documentation frames the project as an attempt to keep the strengths of TeX for technical documents while modernizing the software ecosystem around it.

Tectonic's repository documents a technical lineage from XeTeX through a staging repository used as reference source. Later releases increasingly exposed a Rust crate ecosystem around the engine and supporting functionality. The changelog records a 2024 release with the completion of a pure-Rust BibTeX engine port and a 2026 release after several years that reworked bundles, added a TeX Live 2024 bundle, and continued moving core pieces toward Rust.

### 采用历史

Tectonic entered package-manager culture as a smaller, more automatable answer to installing TeX Live for CI jobs, documentation builds, scientific writing, and reproducible PDFs. Its README displays packaging status through Repology and points to crates.io, system packages, and GitHub Actions that install or run Tectonic in workflows.

The project also became useful in CI-oriented niches because a single executable can compile TeX documents and obtain needed assets through bundle mechanisms. The README explicitly points to GitHub Actions powered by Tectonic and to a project that runs Tectonic against a subset of the arXiv corpus.

### 使用方式

Typical use is invoking `tectonic` or the newer `tectonic -X` interface to compile TeX/LaTeX documents to PDF, often in a clean checkout or CI environment. The official book documents commands such as build, compile, init, new, show, watch, and the `Tectonic.toml` project file.

Package users value it because it can be installed through Homebrew, Cargo, Nix, and other package managers and then used in scripts without bootstrapping a full TeX distribution by hand.

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

Tectonic is significant because it turns TeX from a sprawling distribution problem into a packageable compiler-like tool. For people who maintain docs, papers, resumes, manuals, or CI pipelines, that makes LaTeX builds feel closer to using a language runtime or compiler than managing a system-wide TeX tree.

### 时间线

- 2016: Public GitHub repository created.
- 2024: 0.15.0 release completed the pure-Rust BibTeX engine port and improved Linux builds.
- 2026: 0.16.0 release reworked bundles, added a TeX Live 2024 bundle, and resumed releases after several years.
- 2026: 0.16.9 fixed macOS and CLI/version issues.

### Related projects

- Related projects include TeX Live, XeTeX, BibTeX, LaTeX, tectonic-staging, and CI actions such as setup-tectonic and compile-latex.

### 来源

- <https://github.com/tectonic-typesetting/tectonic/blob/master/README.md>
- <https://github.com/tectonic-typesetting/tectonic/blob/release/CHANGELOG.md>
- <https://tectonic-typesetting.github.io/book/latest/>
- <https://tectonic-typesetting.github.io/book/latest/introduction/>
- source_facts.description


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: Tectonic.toml
## 其他软件包管理器记录

- Nix - tectonic: normalized package name match | nixpkgs package indexes: pkgs/by-name/te/tectonic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - tectonic - 0.16.9-r0: normalized package name match | Alpine Linux edge package indexes: tectonic from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tectonic is a modernized, complete, self-contained TeX/LaTeX engine | https://tectonic-typesetting.github.io
- pacman - tectonic - 0.17.0-1: normalized package name match | Arch Linux sync databases: tectonic from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive | https://tectonic-typesetting.github.io/
- MacPorts - tectonic: normalized package name match | MacPorts ports tree: tex/tectonic/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/tectonic: normalized package name match | Scoop official bucket manifest trees: bucket/tectonic.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/tectonic.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tectonic.yml)


## 来源

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