# gtree mit Homebrew, MacPorts, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gtree in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:gtree
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install gtree
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gtree
```

  Evidenz: MacPorts ports tree: sysutils/gtree/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gtree
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/gt/gtree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:gtree
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/gtree>
- **Version:** 1.14.9
- **Quellzusammenfassung:** Generate directory trees and directories using Markdown or programmatically
- **Homepage:** <https://ddddddo.github.io/gtree/>
- **Repository:** <https://github.com/ddddddO/gtree>
- **Upstream-Dokumentation:** <https://ddddddo.github.io/gtree/>
- **Lizenz:** BSD-2-Clause
- **Quellarchiv:** <https://github.com/ddddddO/gtree/archive/refs/tags/v1.14.9.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-27T14:57:53+02:00
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- gtree (cli)
- gtree (Alias)

## Build-Abhängigkeiten

- go

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 1.14.9
- Manager aktualisiert: 2026-07-27
- lokale Daten: OK
- Upstream-Repository: https://github.com/ddddddO/gtree
- neueste erkannte Version: v1.14.9 (aktuell)
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

- <https://api.github.com/repos/ddddddO/gtree>
- <https://api.github.com/repos/ddddddO/gtree/releases?per_page=100>
- <https://ddddddo.github.io/gtree/>
- <https://github.com/ddddddO/gtree>
- <https://pkg.go.dev/github.com/ddddddO/gtree>


## Sicherheitshinweise

Für gtree wurde kein passendes lokales Secret-Handling-Manifest gefunden. Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.


## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gtree
- **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:** head, stable

## Andere Paketmanager-Einträge

- Nix - gtree: normalized package name match | nixpkgs package indexes: pkgs/by-name/gt/gtree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - gtree: normalized package name match | MacPorts ports tree: sysutils/gtree/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/de/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/de/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/de/brew/go/) - Build dependency declared by Homebrew.
- [hugo](https://pkg.so/de/brew/hugo/) - Shares pkgdb curated category or tags: cli, developer-tools, go, markdown.
- [go-md2man](https://pkg.so/de/brew/go-md2man/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [grip](https://pkg.so/de/brew/grip/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [mdbook](https://pkg.so/de/brew/mdbook/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [cheat](https://pkg.so/de/brew/cheat/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, go.
- [mkdocs-material](https://pkg.so/de/brew/mkdocs-material/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [adr-tools](https://pkg.so/de/brew/adr-tools/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [markdown](https://pkg.so/de/brew/markdown/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [action-docs](https://pkg.so/de/brew/action-docs/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, documentation, generate.
- [broot](https://pkg.so/de/brew/broot/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, directory, directory-tree.

## Combined YAML source

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


## Quellen

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