# 使用 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
- **版本:** 0.6.0
- **来源摘要:** TUI and CLI dual pane markdown viewer
- **主页:** <https://github.com/epistates/treemd>
- **仓库:** <https://github.com/epistates/treemd>
- **最后更新:** 2026-07-23T17:02:07Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- treemd (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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
## 其他软件包管理器记录

- 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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
