tree
« Back to VersTracker
Description:
Display directories as trees (with optional color/HTML output)
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: cli filesystem utility visualization directory
Install: brew install tree
About:
The 'tree' command is a recursive directory listing program that produces a depth-indented list of files. It is highly configurable, supporting colorization for different file types, HTML output for web pages, and filtering based on file attributes. Its primary value is providing an immediate, visual hierarchy of complex directory structures that standard 'ls' commands cannot easily convey.
Key Features:
  • Visual directory depth indentation
  • Colorization based on file extensions and permissions
  • HTML output generation for web documentation
  • File pattern filtering and indentation level control
Use Cases:
  • Generating visual documentation of project folder structures
  • Quickly understanding the layout of deeply nested file systems
  • Auditing directory contents for specific file types
Alternatives:
  • ls -R – Standard recursive listing lacks visual indentation and hierarchy visualization.
  • exa – A modern replacement for ls with colors and icons, but focuses on flat lists rather than tree structures.
Version History
Detected Version Rev Change Commit
Nov 26, 2024 10:14am 0 VERSION_BUMP aa501f64