Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix 安装 otree

查看 otree 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install otree

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install otree

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add otree

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

Nix已验证 · 92%
nix profile install nixpkgs#otree

nixpkgs 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

历史

项目历史与用法

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.

时间线

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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
otreecli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.7.1
管理器更新时间2026-07-07
本地数据OK
上游当前
检测到的最新版本v0.7.1

https://github.com/fioncat/otree

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

otree

nix profile install nixpkgs#otree
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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