macOS
brew install otreelocal Homebrew formula metadata
sudo port install otreeMacPorts ports tree · textproc/otree/Portfile · 来源: api.github.com
安装
brew install otreelocal Homebrew formula metadata
sudo port install otreeMacPorts ports tree · textproc/otree/Portfile · 来源: api.github.com
sudo apk add otreeAlpine Linux edge package indexes · otree · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#otreenixpkgs package indexes · pkgs/by-name/ot/otree/package.nix · 来源: api.github.com
概览
Command-line tool to view objects (JSON/YAML/TOML) in TUI tree widget
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
otree | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/fioncat/otree
安装元数据
| 软件包键 | brew:otree |
|---|---|
| 版本 | 0.7.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/otree |
| 主页 | https://github.com/fioncat/otree |
| 仓库 | https://github.com/fioncat/otree |
| 上游文档 | https://github.com/fioncat/otree#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/fioncat/otree/archive/refs/tags/v0.7.1.tar.gz |
| 最后更新 | 2026-07-07T12:37:42Z |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 otree来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.