erdtree
A multi-threaded command-line tool that shows a directory tree together with disk usage.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
1 more ways to get erdtree
Package managers
- Homebrew
brew install erdtree
About erdtree
erdtree, run as erd, combines a tree-style file listing with disk-usage reporting. It is multi-threaded and cross-platform. It respects .gitignore and hidden-file rules, so the output stays focused on the files you care about.
It works as a replacement for both tree and du when you want to see how a project or folder is laid out and where the space is going.
Strengths
- Shows the file tree and disk usage in one view
- Honours .gitignore and hidden-file rules
- Multi-threaded and cross-platform
Limitations
- Releases are infrequent
- Terminal only
Details
- Pricing
- FreeFree and open source.
- License
- MIT
- Developer
- solidiquis
- Platforms
- Windows, macOS, Linux, Command line
- How it runs
- Downloadable app
- Account
- Not required
- Works offline
- Yes
- Best suited for
- Seeing a folder's structure and what is using space in one command
- Categories
- Disk tools, CLI tools
- Last verified
- Added
- Provenance
- Facts checked against the developer's own pages and store listings, 1 sources on file.
Alternatives to erdtree
Compare allSoftware that can replace erdtree for an important use case, and what changes if you switch.
pdu (parallel-disk-usage)
A command-line directory tree analyzer that measures disk usage in parallel and prints a size chart.
parallel-disk-usage scans directories in parallel and prints a size chart in the terminal, but focuses on disk usage rather than showing the full file tree with gitignore rules.
godu
An interactive terminal utility written in Go for finding the files and folders filling a disk.
godu lets you browse disk usage interactively in the terminal as a single Go binary, but it is macOS and Linux only and does not print a static tree.
tree
A command-line program that lists the contents of directories as an indented tree.
tree lists directory structure as an indented tree with HTML, JSON and XML output, but does not report disk usage and is mainly distributed as source for Linux.
eza
A replacement for ls with colours, icons, a tree view and Git status in the listing.
eza offers a built-in tree view with -T plus colours, icons and Git status, but it is an ls replacement and does not total disk usage per folder.
LSD
List files with icons, colors and tree views.
LSD lists files with icons, colours and tree views on all major platforms, but it is a directory lister without erdtree's disk usage breakdown.
Similar software
Related functionality, not necessarily a direct replacement.
tere
Move between directories with an interactive terminal browser.
Walk
A minimal terminal file navigator that replaces cd and ls for browsing directories.
fclones
A command-line tool that finds groups of identical files and removes the copies you no longer need.
Kondo
A tool that finds and deletes build artifacts and dependency folders from software projects.