# 使用 Homebrew, Nix, pacman 安装 treemd

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

## 安装

```sh
sudo av install brew:treemd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install treemd
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#treemd
```

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

- pacman (92%):

```sh
sudo pacman -S treemd
```

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

## 软件包事实

- **软件包键:** brew:treemd
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/treemd>
- **版本:** 0.6.0
- **来源摘要:** TUI and CLI dual pane markdown viewer
- **主页:** <https://github.com/epistates/treemd>
- **仓库:** <https://github.com/epistates/treemd>
- **许可证:** MIT
- **源码归档:** <https://github.com/Epistates/treemd/archive/refs/tags/v0.6.0.tar.gz>
- **最后更新:** 2026-07-23T17:02:07Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- treemd (cli)
- treemd (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

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

treemd is a terminal Markdown navigator that combines a tree view, document viewing, and scriptable CLI output.

### 项目历史

The official GitHub repository was created in November 2025. The README describes a dual CLI/TUI design for navigating Markdown structure, following links, searching documents, and extracting elements with a jq-like query language.

### 采用历史

The official README documents Cargo, Homebrew, and pkgin installation, while source_facts.package-manager records Homebrew, Nix, and pacman availability. This reflects early distribution across Rust and several Unix package ecosystems.

### 使用方式

Users open a Markdown file or directory with `treemd`, navigate headings and links interactively, list document structure with `-l`, or query elements with `-q`; settings and custom keybindings live in the documented TOML config file.

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

treemd packages a Markdown reader, structural navigator, and query-oriented CLI in one Rust binary, making it useful both as an interactive terminal tool and in text-processing workflows.

### 时间线

- 2025-11-08: Official GitHub repository created.
- Current: Official README documents Cargo, Homebrew, and pkgin installation.
- 2026: source_facts.package-manager records Homebrew, Nix, and pacman packages.

### Related projects

- Rust and Cargo provide the upstream build and installation ecosystem.
- jq inspires the query-language model described by the official README.

### 来源

- <https://api.github.com/repos/Epistates/treemd>
- <https://github.com/Epistates/treemd#readme>
- source_facts.package-manager


## 安全说明

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

- Linux: ~/.config/treemd/config.toml
- macOS: ~/Library/Application Support/treemd/config.toml
- Windows: %APPDATA%\treemd\config.toml
## 源数据库详情

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

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

- Nix - treemd: normalized package name match | nixpkgs package indexes: pkgs/by-name/tr/treemd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - treemd - 0.6.0-1: normalized package name match | Arch Linux sync databases: treemd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A markdown navigator with tree-based structural navigation | https://github.com/Epistates/treemd


## 相关链接

- [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.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [midnight-commander](https://pkg.so/zh-hans/brew/midnight-commander/) - Shares pkgdb curated category or tags: cli, dual-pane, productivity, terminal, tui.
- [mdcat](https://pkg.so/zh-hans/brew/mdcat/) - Shares pkgdb curated category or tags: cli, markdown, productivity, terminal, viewer.
- [mdless](https://pkg.so/zh-hans/brew/mdless/) - Shares pkgdb curated category or tags: cli, markdown, productivity, terminal, viewer.
- [mdfried](https://pkg.so/zh-hans/brew/mdfried/) - Shares pkgdb curated category or tags: cli, markdown, productivity, terminal, viewer.
- [ekphos](https://pkg.so/zh-hans/brew/ekphos/) - Shares pkgdb curated category or tags: cli, markdown, productivity, terminal, tui.
- [md-tui](https://pkg.so/zh-hans/brew/md-tui/) - Shares pkgdb curated category or tags: cli, markdown, productivity, terminal, viewer.
- [yazi](https://pkg.so/zh-hans/brew/yazi/) - Shares pkgdb curated category or tags: cli, productivity, terminal, tui.
- [superfile](https://pkg.so/zh-hans/brew/superfile/) - Shares pkgdb curated category or tags: cli, productivity, terminal, tui.

## Combined YAML source

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


## 来源

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