All apps/erdtree

erdtree

erdtree

A modern, cross-platform, multi-threaded filesystem and disk-usage utility.

Runs as erd|macOS, Linux, Windows|github.com

Command form

ai-draft · 2 tasks · 13 fields

Print a directory tree with disk usage using erd. Config files, completions, thread tuning and column-width options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui erdtree
Show directory treeExample values, fixed in this page — nothing here reaches a terminal
Basic
Directory
directory
Max depth
integer
Human-readable sizes
--human
Sort order
6 choicesenum
TasksEach one presets the form for one job
Disk usage overview
dirlevelhumansort
Find files by pattern
dirpatternprunehidden
ParametersOnly these flags are editable in the form
Directory
Defaults to the current directory.
path · positional 0
Max depth
integer
--level-L
Human-readable sizes
boolean
--human-H
Size metric
enum
--disk-usage-dlogicalphysicallinewordblock
Sort order
enum
--sort-snamernamesizersizemodrmod
Layout
enum
--layout-yregularinvertedflatiflat
Show hidden files
boolean
--hidden-.
Ignore .gitignore
Do not respect .gitignore files.
boolean
--no-ignore-i
Long view
boolean
--long-l
File icons
boolean
--icons-I
Directories only
boolean
--dirs-only
Match pattern
Regular expression used to match files.
string
--pattern-p
Prune empty directories
boolean
--prune-P
SourcesEvery flag above is checked against these
help
Usage: erd [OPTIONS] [DIR] [DIR] Directory to traverse; defaults to current working directory -d, --disk-usage <DISK_USAGE> Possible values: - logical: - physical: - line: - word: - block: -H, --human Print disk usage in human-readable format -i, --no-ignore Do…
help2026-10-27

github.com

Before it fills your prompt, Otty checks the installed erd against its version. A form that does not match your version is not offered.