macOS
brew install treelocal Homebrew formula metadata
sudo port install treeMacPorts ports tree · sysutils/tree/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für tree in AI-Agent-Workflows.
Installation
brew install treelocal Homebrew formula metadata
sudo port install treeMacPorts ports tree · sysutils/tree/Portfile · Quelle: api.github.com
sudo apk add treeAlpine Linux edge package indexes · tree · Quelle: dl-cdn.alpinelinux.org
sudo apt install treeDebian stable package indexes · tree · Quelle: deb.debian.org
sudo dnf install treeFedora Rawhide package metadata · tree · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#treenixpkgs package indexes · pkgs/by-name/tr/tree/package.nix · Quelle: api.github.com
sudo pacman -S treeArch Linux sync databases · tree · Quelle: geo.mirror.pkgbuild.com
sudo zypper install treeopenSUSE Tumbleweed package metadata · tree · Quelle: download.opensuse.org
choco install treeChocolatey community package catalog · tree · Quelle: community.chocolatey.org
Überblick
Display directories as trees (with optional color/HTML output)
Verlauf
tree is the classic Unix-style command that prints directory contents as an indented tree, with options for color, filtering, metadata, and machine-readable output.
Steve Baker's README describes tree as a handy utility he had written earlier to display a directory tree and later released after adding color support. The man page identifies the program as copyright 1996-2026 and describes it as listing directory contents in a tree-like format.
The command grew by accretion in the Unix tradition. Early releases added filtering, modification-time sorting, ownership display, dircolors support, ANSI line drawing, HTML output, output redirection, depth limits, recursive HTML generation, portability fixes, and symlink handling.
Later releases made tree more useful for scripts and modern repositories: XML output, JSON output, UTF-8 handling, file-size sorting, gitignore support, NO_COLOR support, hyperlink output, from-file modes, ACL/SELinux display, and extensive portability fixes across Linux, macOS, Solaris, Cygwin, OS/2, HP NonStop, and other systems.
tree became one of those small commands many users expect even though it is not part of every base system. Its broad package-manager presence reflects that: Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, MacPorts, Nix, Chocolatey, and others package a compatible `tree` executable.
Its adoption is driven less by a framework ecosystem than by muscle memory: README examples, dotfile screenshots, CI diagnostics, support tickets, and filesystem explanations often become easier once a directory hierarchy can be pasted as text.
Common use is simply `tree` or `tree DIR`, with options such as `-L` for depth, `-a` for hidden files, `-d` for directories only, `-I` or `-P` for filtering, `-J` for JSON, `-X` for XML, and `-H` for HTML.
In package-nerd culture, tree is both a diagnostic tool and a packaging sanity check: after install, after build, or inside a fixture, it gives a compact visual proof of what files landed where.
tree is significant because it turns filesystem shape into a stable text artifact. That makes it unusually useful in package recipes, bug reports, documentation, and tests where `find` is correct but hard to read.
Sicherheitslage
doc example: narrow filesystem listing tool.
grün Risiko · hoch Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
tree | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/Old-Man-Programmer/tree
Installationsmetadaten
| Paketschlüssel | brew:tree |
|---|---|
| Version | 2.3.2 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/tree |
| Homepage | https://oldmanprogrammer.net/source.php?dir=projects/tree |
| Repository | https://github.com/Old-Man-Programmer/tree |
| Upstream-Dokumentation | https://github.com/Old-Man-Programmer/tree#readme |
| Lizenz | GPL-2.0-or-later |
| Quellarchiv | https://github.com/Old-Man-Programmer/tree/archive/refs/tags/2.3.2.tar.gz |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | tree |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
tree 2.2.1-1
displays an indented directory tree, in color
http://oldmanprogrammer.net/source.php?dir=projects/tree
sudo apt install treetree
nix profile install nixpkgs#treetree 2.1.1-2ubuntu3
displays an indented directory tree, in color
http://oldmanprogrammer.net/source.php?dir=projects/tree
sudo apt install treetree 2.3.2-r0
Recursive directory indented listing of files
https://oldmanprogrammer.net/source.php?dir=projects/tree
sudo apk add treetree-doc 2.3.2-r0
Recursive directory indented listing of files (documentation)
https://oldmanprogrammer.net/source.php?dir=projects/tree
sudo apk add tree-doctree 2.3.1-1.fc45
File system tree viewer
https://oldmanprogrammer.net/source.php?dir=projects/tree
sudo dnf install treetree 2.3.2-1
A directory listing program displaying a depth indented list of files
https://gitlab.com/OldManProgrammer/unix-tree
sudo pacman -S treetree 2.3.2-1.1
File listing as a tree
https://oldmanprogrammer.net/tar/tree/
sudo zypper install treetree
sudo port install treetree
choco install treeQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.