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 days172,829
Downloads11,880,340
Analytics install events (30 days)14,470
Downloads / install events (30 days)11.9×

Source: GitHub Packages, fetched 2026-11-30T00:56:45Z. Analytics dates: 2026-10-31 to 2026-11-30. 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
Installs14,45840,866351,929
Installs (--HEAD)1234461
Installs on Request12,35835,505318,602
Installs on Request (--HEAD)1234461
Build Errors2