# otree を Homebrew, apk, MacPorts, Nix でインストール

otree のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:otree
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install otree
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install otree
```

  証拠: MacPorts ports tree: textproc/otree/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add otree
```

  証拠: Alpine Linux edge package indexes: otree from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#otree
```

  証拠: nixpkgs package indexes: pkgs/by-name/ot/otree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:otree
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.7.1
- **ソース概要:** Command-line tool to view objects (JSON/YAML/TOML) in TUI tree widget
- **ホームページ:** <https://github.com/fioncat/otree>
- **リポジトリ:** <https://github.com/fioncat/otree>
- **最終更新:** 2026-07-07T12:37:42Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- otree (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.7.1
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://formulae.brew.sh/formula/otree>
- <https://github.com/EdJoPaTo/tui-rs-tree-widget>
- <https://github.com/fioncat/otree>
- <https://ports.macports.org/port/otree/>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - otree: normalized package name match | nixpkgs package indexes: pkgs/by-name/ot/otree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - otree - 0.7.1-r0: normalized package name match | Alpine Linux edge package indexes: otree from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | View JSON/YAML/TOML objects in a TUI tree widget | https://github.com/fioncat/otree
- apk - otree-doc - 0.7.1-r0: normalized package name match | Alpine Linux edge package indexes: otree-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | View JSON/YAML/TOML objects in a TUI tree widget (documentation) | https://github.com/fioncat/otree
- MacPorts - otree: normalized package name match | MacPorts ports tree: textproc/otree/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/otree.yml](https://github.com/mxcl/pkgdb/blob/main/combined/otree.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
