tree

Install command:
brew install tree

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

https://oldmanprogrammer.net/source.php?dir=projects/tree

License: GPL-2.0-or-later

Formula JSON API: /api/formula/tree.json

Formula code: tree.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sequoia
sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 2.1.3

Analytics:

Installs (30 days)
tree 18,555
tree --HEAD 40
Installs on Request (30 days)
tree 18,160
tree --HEAD 40
Build Errors (30 days)
tree 0
Installs (90 days)
tree 59,747
tree --HEAD 114
Installs on Request (90 days)
tree 58,534
tree --HEAD 114
Installs (365 days)
tree 290,430
tree --HEAD 503
Installs on Request (365 days)
tree 283,324
tree --HEAD 503
Fork me on GitHub