# Install treemd with Homebrew, Nix, pacman

TUI and CLI dual pane markdown viewer. Version 0.6.0 via Homebrew; verified 2026-07-23. Also installable with nix: nix profile install nixpkgs#treemd.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install treemd
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:treemd
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/treemd>
- **Version:** 0.6.0
- **Source summary:** TUI and CLI dual pane markdown viewer
- **Homepage:** <https://github.com/epistates/treemd>
- **Repository:** <https://github.com/epistates/treemd>
- **License:** MIT
- **Source archive:** <https://github.com/Epistates/treemd/archive/refs/tags/v0.6.0.tar.gz>
- **Last updated:** 2026-07-23T17:02:07Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- treemd (cli)
- treemd (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.6.0
- Package-manager updated: 2026-07-23
- Local data: ok
- Upstream repository: https://github.com/Epistates/treemd
- Upstream latest detected: v0.6.0 (current)
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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 Details

- **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

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://pkg.so/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://pkg.so/brew/rust/) - Build dependency declared by Homebrew.
- [midnight-commander](https://pkg.so/brew/midnight-commander/) - Shares pkgdb curated category or tags: cli, dual-pane, productivity, terminal, tui.
- [mdcat](https://pkg.so/brew/mdcat/) - Shares pkgdb curated category or tags: cli, markdown, productivity, terminal, viewer.
- [mdless](https://pkg.so/brew/mdless/) - Shares pkgdb curated category or tags: cli, markdown, productivity, terminal, viewer.
- [mdfried](https://pkg.so/brew/mdfried/) - Shares pkgdb curated category or tags: cli, markdown, productivity, terminal, viewer.
- [ekphos](https://pkg.so/brew/ekphos/) - Shares pkgdb curated category or tags: cli, markdown, productivity, terminal, tui.
- [md-tui](https://pkg.so/brew/md-tui/) - Shares pkgdb curated category or tags: cli, markdown, productivity, terminal, viewer.
- [yazi](https://pkg.so/brew/yazi/) - Shares pkgdb curated category or tags: cli, productivity, terminal, tui.
- [superfile](https://pkg.so/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)


## Sources

- 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
