# 使用 Homebrew, Nix, pacman 安装 tdf

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

## 安装

```sh
sudo av install brew:tdf
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tdf
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#tdf
```

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

- pacman (92%):

```sh
sudo pacman -S tdf
```

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

## 软件包事实

- **软件包键:** brew:tdf
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tdf>
- **版本:** 0.5.0
- **来源摘要:** TUI-based PDF viewer
- **主页:** <https://github.com/itsjunetime/tdf>
- **仓库:** <https://github.com/itsjunetime/tdf>
- **许可证:** AGPL-3.0-only
- **源码归档:** <https://github.com/itsjunetime/tdf/archive/refs/tags/v0.5.0.tar.gz>
- **最后更新:** 2026-05-31T09:10:00Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- for_profiling (cli)
- tdf (cli)
- for_profiling (别名)
- tdf (别名)

## 依赖

- fontconfig
- freetype

## 构建依赖

- llvm
- pkgconf
- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.5.0
- 管理器更新时间: 2026-05-31
- 本地数据: OK
- 上游仓库: https://github.com/itsjunetime/tdf
- 检测到的最新版本: v0.5.0 (当前)
## 项目历史与用法

tdf is a terminal-based PDF viewer designed for responsive use with large documents. It renders documents inside terminal environments and provides asynchronous rendering, search, hot reload, and reactive layouts.

### 项目历史

The public Rust project began in 2024. Version 0.3.0, released in March 2025, rewrote the viewer around MuPDF for better rendering quality and performance; the 0.4 series improved the Kitty image backend and zoom behavior, and version 0.5.0 continued usability and stability work. The current changelog also records forthcoming Windows support.

### 采用历史

The official README documents Cargo installation from Git and a Radicle clone identity. The supplied package metadata records Homebrew and Nix packages, widening installation beyond manual Rust builds.

### 使用方式

Users launch tdf with a document and navigate within a terminal UI. Optional Cargo features add EPUB and CBZ support, while the viewer provides search, hot reload, zooming, panning, color inversion, right-to-left display, and terminal-specific image rendering.

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

tdf is notable because it brings graphical document rendering into a terminal-native Rust workflow. Its MuPDF, fontconfig, Clang, Ratatui, and terminal image-protocol dependencies make it an interesting cross-section of systems packaging and modern TUI design.

### 时间线

- 2024: The public tdf repository was created.
- 2025-03: Version 0.3.0 rewrote rendering around MuPDF.
- 2025-08: Version 0.4.0 introduced a new Kitty-oriented image backend.
- 2025-12: Version 0.5.0 was released.
- Unreleased: The changelog records Windows support.

### Related projects

- Ratatui supplies the terminal UI framework, MuPDF supplies document rendering, and the optional feature set extends the PDF viewer to EPUB and CBZ documents. Radicle provides an alternative source-distribution route.

### 来源

- <https://github.com/itsjunetime/tdf#readme>
- <https://github.com/itsjunetime/tdf/blob/main/CHANGELOG.md>
- <https://github.com/itsjunetime/tdf/releases>
- source_facts.package-manager


## 安全说明

没有找到 tdf 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tdf
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Nix - tdf: normalized package name match | nixpkgs package indexes: pkgs/by-name/td/tdf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - tdf - 0.5.0-3: normalized package name match | Arch Linux sync databases: tdf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A TUI-based PDF viewer | https://github.com/itsjunetime/tdf


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [fontconfig](https://pkg.so/zh-hans/brew/fontconfig/) - Runtime dependency declared by Homebrew.
- [freetype](https://pkg.so/zh-hans/brew/freetype/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [llvm](https://pkg.so/zh-hans/brew/llvm/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [mupdf](https://pkg.so/zh-hans/brew/mupdf/) - Shares pkgdb curated category or tags: cli, document-viewer, media, pdf.
- [lue-reader](https://pkg.so/zh-hans/brew/lue-reader/) - Shares pkgdb curated category or tags: cli, media, pdf, terminal.
- [djview4](https://pkg.so/zh-hans/brew/djview4/) - Shares pkgdb curated category or tags: cli, document-viewer, media.
- [cairo](https://pkg.so/zh-hans/brew/cairo/) - Shares pkgdb curated category or tags: cli, media, pdf.
- [poppler](https://pkg.so/zh-hans/brew/poppler/) - Shares pkgdb curated category or tags: cli, media, pdf.
- [ghostscript](https://pkg.so/zh-hans/brew/ghostscript/) - Shares pkgdb curated category or tags: cli, media, pdf.
- [qpdf](https://pkg.so/zh-hans/brew/qpdf/) - Shares pkgdb curated category or tags: cli, media, pdf.
- [ocrmypdf](https://pkg.so/zh-hans/brew/ocrmypdf/) - Shares pkgdb curated category or tags: cli, media, pdf.
- [plutobook](https://pkg.so/zh-hans/brew/plutobook/) - Both packages work with overlapping file formats or content types. Shared terms: cli, document, fontconfig, freetype, media.
- [podofo](https://pkg.so/zh-hans/brew/podofo/) - Both packages work with overlapping file formats or content types. Shared terms: cli, document, fontconfig, freetype, media.
- [lazycut](https://pkg.so/zh-hans/brew/lazycut/) - Local package facts share a topical domain. Shared terms: based, cli, media, terminal, terminal-ui.

## Combined YAML source

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


## 来源

- pkg.so package database
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
