Alternatives to tree
A command-line program that lists the contents of directories as an indented tree. The listings below can replace it for an important use case. Each note says what changes if you switch.
The original
tree
A command-line program that lists the contents of directories as an indented tree.
Replacements
Listings that take over the same core job as tree.
eza
A replacement for ls with colours, icons, a tree view and Git status in the listing.
eza provides a tree view with -T along with colours, icons and Git status, ships as one binary for Windows, macOS and Linux, but lacks tree's HTML output.
erdtree
A multi-threaded command-line tool that shows a directory tree together with disk usage.
erdtree shows the directory tree together with disk usage, honours .gitignore rules and runs multi-threaded on Windows, macOS and Linux, with infrequent releases.
LSD
List files with icons, colors and tree views.
LSD offers tree views with icons and colours on Windows, macOS and Linux under Apache-2.0, though icon display needs a suitable terminal font.
Similar software
Related functionality, not 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.
lf
A fast terminal file manager in the ranger style, as a single binary with no runtime dependencies.
pdu (parallel-disk-usage)
A command-line directory tree analyzer that measures disk usage in parallel and prints a size chart.
GNU Coreutils
The core GNU file, shell and text utilities, including ls, cp, mv and sort.