macOS
brew install otreelocal Homebrew formula metadata
sudo port install otreeMacPorts ports tree · textproc/otree/Portfile · source: api.github.com
brew
Command-line tool to view objects (JSON/YAML/TOML) in TUI tree widget. Version 0.7.1 via Homebrew; verified 2026-07-07.
install
brew install otreelocal Homebrew formula metadata
sudo port install otreeMacPorts ports tree · textproc/otree/Portfile · source: api.github.com
sudo apk add otreeAlpine Linux edge package indexes · otree · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#otreenixpkgs package indexes · pkgs/by-name/ot/otree/package.nix · source: api.github.com
overview
Command-line tool to view objects (JSON/YAML/TOML) in TUI tree widget
history
OTree is a Rust terminal UI for inspecting structured objects as an interactive tree. It targets JSON, YAML, TOML, and XML files, with a particular emphasis on deeply nested configuration data.
The upstream README says the author created otree to inspect very deep Kubernetes YAML files, because jnv only supported JSON. The project is built on Ratatui and the tui-tree-widget tree component, placing it in the modern Rust TUI tool family.
The roadmap in the repository ties features to early version milestones: root switching, tree overview, data block, footer, syntax highlighting, configuration, clipboard support, filtering, help popups, and debug logging.
The project distributes through GitHub releases, cargo-from-git builds, Arch AUR, Homebrew, and MacPorts. Homebrew and MacPorts package pages give macOS and Linux users a packaged path, while the GitHub repository records versioned releases and a modest open-source audience.
Users run otree with a structured data file path, for example a JSON, YAML, TOML, or XML document, and browse the parsed object in a terminal tree. The README also documents a configuration file at ~/.config/otree.toml for keys, colors, and other TUI behavior.
The natural use case is operational inspection: Kubernetes manifests, application config, lock files, generated JSON, and other nested documents that are unpleasant to read as raw text.
otree matters as a packaged example of the small, focused Rust CLI wave: it wraps serde-style structured-data parsing and Ratatui interaction into a single binary that competes with ad hoc jq/yq/editor folding workflows.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
otree | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/fioncat/otree
install metadata
| Package key | brew:otree |
|---|---|
| Version | 0.7.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/otree |
| Homepage | https://github.com/fioncat/otree |
| Repository | https://github.com/fioncat/otree |
| Upstream docs | https://github.com/fioncat/otree#readme |
| License | MIT |
| Source archive | https://github.com/fioncat/otree/archive/refs/tags/v0.7.1.tar.gz |
| Last updated | 2026-07-07T12:37:42Z |
| Pulse | updated |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | otree |
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
otree
nix profile install nixpkgs#otreeotree 0.6.5-r0
View JSON/YAML/TOML objects in a TUI tree widget
https://github.com/fioncat/otree
sudo apk add otreeotree-doc 0.6.5-r0
View JSON/YAML/TOML objects in a TUI tree widget (documentation)
https://github.com/fioncat/otree
sudo apk add otree-docotree
sudo port install otreesource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.