# Installer gtree avec Homebrew, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gtree pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install gtree
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gtree
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:gtree
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.14.9
- **Résumé source:** Generate directory trees and directories using Markdown or programmatically
- **Page d'accueil:** <https://ddddddo.github.io/gtree/>
- **Dépôt:** <https://github.com/ddddddO/gtree>
- **Dernière mise à jour:** 2026-07-27T14:57:53+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- gtree (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.14.9
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour gtree. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.


## Autres enregistrements de gestionnaires de paquets

- 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


## Combined YAML source

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


## Sources

- 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
