tree

Display directories as trees with optional color/HTML output

brewmacoslinux
Try with needOr install directly
Source

About

Display directories as trees (with optional color/HTML output)

Commands

tree

Examples

Display directory structure of current folder$ tree
Show tree with depth limit of 2 levels$ tree -L 2
Display tree with colored output and ignore node_modules$ tree -C -I 'node_modules'