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 sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 2.1.3

Analytics:

Installs (30 days)
tree 49,263
tree --HEAD 99
Installs on Request (30 days)
tree 47,821
tree --HEAD 99
Build Errors (30 days)
tree 3
Installs (90 days)
tree 79,936
tree --HEAD 150
Installs on Request (90 days)
tree 77,824
tree --HEAD 150
Installs (365 days)
tree 264,450
tree --HEAD 468
Installs on Request (365 days)
tree 258,006
tree --HEAD 468
Fork me on GitHub