Automic VaultAutomic Vault

brew

gtree を Homebrew, MacPorts, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install gtree

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install gtree

MacPorts ports tree · sysutils/gtree/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#gtree

nixpkgs package indexes · pkgs/by-name/gt/gtree/package.nix · ソース: api.github.com

概要

パッケージ概要

Generate directory trees and directories using Markdown or programmatically

履歴

プロジェクトの歴史と使われ方

gtree is a Go package and CLI family for turning structured input into ASCII trees, directory skeletons, and verification checks. It began as a developer-facing Go library, then grew into command-line tooling for Markdown, JSON, YAML, and TOML tree generation.

プロジェクトの歴史

The public repository traces back to a first commit on 2019-02-12. Its README frames the library as a simple way for Go programs to output tree structures, then documents CLI surfaces around Markdown and structured-data input.

The project split its practical surface into the `gtree` CLI for Markdown-based trees, directory creation, and directory verification, plus `xtree` for JSON, YAML, and TOML input. A WebAssembly-backed web page, Tree Maker, extends the same Markdown-to-tree idea into a browser tool.

採用の歴史

gtree moved into package-manager workflows through Go modules and release artifacts, with the README documenting installation through `go install`, Homebrew, Nix, MacPorts, Scoop, Docker images, and binary packages. The input metadata records Homebrew, MacPorts, and Nix packaging.

使われ方

Developers can call package functions such as `OutputFromRoot`, `MkdirFromRoot`, `VerifyFromRoot`, and Markdown equivalents from Go code. CLI users pipe Markdown unordered lists into `gtree output`, use templates to create directories and files, or compare a Markdown description with an existing filesystem tree.

`xtree` covers another common package-user workflow: piping JSON, YAML, or TOML into a tree renderer for quick inspection of nested configuration or API-shaped data.

パッケージ好きにとっての重要性

gtree is not a replacement for the classic Unix `tree` command; it is more of a programmable tree printer and scaffolding verifier. That makes it interesting to package nerds who care about small Go CLIs, documentation examples, generated project skeletons, and terminal-friendly visualization of nested data.

タイムライン

  • 2019-02-12: Public repository first commit.
  • 2021-05-30: GitHub repository metadata records repository creation.
  • 2022-08-19: Release metadata includes v1.7.12.
  • 2020s: README documents Go package, Markdown CLI, WebAssembly Tree Maker, and xtree structured-data workflows.

Related projects

  • The README acknowledges related tree-output tools for cloud storage, including stree for Amazon S3 and gcstree for Google Cloud Storage. In use, gtree also sits near the classic `tree` utility, Markdown processors, and small JSON/YAML/TOML inspection tools.

セキュリティ状態

保護ツール対応はまだ見つかっていません

gtree に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
gtreecliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版1.14.9
マネージャ更新日2026-07-01
ローカルデータOK
上流最新
検出された最新v1.14.9

https://github.com/ddddddO/gtree

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:gtree
バージョン1.14.9
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/gtree
ホームページhttps://ddddddo.github.io/gtree/
リポジトリhttps://github.com/ddddddO/gtree
上流ドキュメントhttps://ddddddo.github.io/gtree
ライセンスBSD-2-Clause
ソースアーカイブhttps://github.com/ddddddO/gtree/archive/refs/tags/v1.14.9.tar.gz
最終更新2026-07-01T18:22:32Z
Pulseupdated
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegtree
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%

gtree

nix profile install nixpkgs#gtree
  • normalized package name match
  • 一致条件: Gtree
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gt/gtree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

gtree

sudo port install gtree
  • normalized package name match
  • 一致条件: Gtree
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/gtree/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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