Automic VaultAutomic Vault

brew

Install otree with Homebrew, apk, MacPorts, Nix

Command-line tool to view objects (JSON/YAML/TOML) in TUI tree widget. Version 0.7.1 via Homebrew; verified 2026-07-07.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install otree

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install otree

MacPorts ports tree · textproc/otree/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add otree

Alpine Linux edge package indexes · otree · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#otree

nixpkgs package indexes · pkgs/by-name/ot/otree/package.nix · source: api.github.com

overview

Package summary

Command-line tool to view objects (JSON/YAML/TOML) in TUI tree widget

Commands and aliases

  • otree

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • v0.1 to v0.6 roadmap: The README maps major UI and action features across early releases, including root changes, syntax highlighting, filtering, and configuration.
  • 3 March 2026: The GitHub repository lists v0.6.5 as a release.

Related projects

  • otree is related to jnv for JSON exploration, Ratatui for terminal UI rendering, and tui-tree-widget for tree presentation.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
otreecliglobal executable

freshness

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

page generated2026-07-08
manager version0.7.1
manager updated2026-07-07
local dataok
upstreamcurrent
latest detectedv0.7.1

https://github.com/fioncat/otree

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:otree
Version0.7.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/otree
Homepagehttps://github.com/fioncat/otree
Repositoryhttps://github.com/fioncat/otree
Upstream docshttps://github.com/fioncat/otree#readme
LicenseMIT
Source archivehttps://github.com/fioncat/otree/archive/refs/tags/v0.7.1.tar.gz
Last updated2026-07-07T12:37:42Z
Pulseupdated
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameotree
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

otree

nix profile install nixpkgs#otree
  • normalized package name match
  • Matched by: Otree
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ot/otree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

otree 0.6.5-r0

View JSON/YAML/TOML objects in a TUI tree widget

https://github.com/fioncat/otree

sudo apk add otree
  • License: MIT
  • Architecture: x86_64
  • Source Package: otree
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Otree
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: otree from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

otree-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-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: otree
  • normalized package name match
  • Matched by: Otree
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: otree-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
MacPorts95%

otree

sudo port install otree
  • normalized package name match
  • Matched by: Otree
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/otree/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment