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

Development: Pull requests

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

Formula code: tree.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.3.2

Binaries: tree

GitHub Packages downloads:

Last 30 days166,477
Downloads11,756,671
Analytics install events (30 days)17,283
Downloads / install events (30 days)9.6×

Source: GitHub Packages, fetched 2026-11-09T00:51:30Z. Analytics dates: 2026-10-10 to 2026-11-09. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs17,27043,429361,737
Installs (--HEAD)1342498
Installs on Request14,83137,967328,181
Installs on Request (--HEAD)1342498
Build Errors0