← Back to tools

tree

Display directory structure as a depth-indented tree

File Management linuxmacoswindows C GPL-2.0

Description

tree is a recursive directory listing command that produces a depth-indented list of files. It is useful for quickly visualizing directory structures and has many options for filtering and formatting output.

AI Summary

Display recursive directory listing as a visual tree structure

Capabilities

  • + Display directory structure as indented tree
  • + Filter by file patterns and depth
  • + Show file sizes, permissions, and dates
  • + Output in multiple formats (ASCII, HTML, JSON)
  • + Color output by file type

Use When

  • You need to visualize directory structures
  • You want a quick overview of a project's file layout

Related Tools

View AGENTS.md for tree