TL;DR — Quick Summary
Broot shows a compact, interactive directory tree that adapts to your terminal. Navigate, search, filter, and manage files — a better way to explore filesystems.
Broot gives you an interactive bird’s-eye view of any directory tree. Instead of flooding your terminal with tree output, Broot shows a smart, compact overview that adapts to your screen — then lets you search, filter, and act on files instantly.
Installation
# macOS
brew install broot
# Arch Linux
sudo pacman -S broot
# Cargo
cargo install broot --locked
# First run — installs the 'br' shell function
broot
# Say yes to install the shell function
Usage
# Start browsing (use br, not broot, to enable cd)
br
# Start in a specific directory
br /var/log
# Type to fuzzy-search instantly
# Arrow keys to navigate
# Enter to open file
# Alt+Enter to cd into directory
Key Features
| Key | Action |
|---|---|
| Type | Fuzzy search/filter |
↑ ↓ | Navigate tree |
Enter | Open file |
Alt+Enter | cd into directory |
s | Toggle sizes |
d | Toggle dates |
p | Toggle permissions |
h | Toggle hidden files |
ctrl+q | Quit |
/ | Regex search |
c/ | Content search (grep) |
Filtering
# In broot, just type to filter:
# Type "rs" to show only files containing "rs"
# Type ".json" to show only JSON files
# Type "e>1m" to show files larger than 1MB
# Type "d<1w" to show files modified in last week
Comparison
| Feature | Broot | tree | lsd | exa/eza | Yazi |
|---|---|---|---|---|---|
| Interactive | Yes | No | No | No | Yes |
| Fuzzy search | Yes | No | No | No | Yes |
| File sizes | On-demand | No | Yes | Yes | Yes |
| cd integration | Yes | No | No | No | Yes |
| File preview | Yes | No | No | No | Yes |
| Adapt to screen | Yes | No | No | No | Yes |
| File operations | Yes | No | No | No | Yes |
Summary
- Broot shows adaptive, compact directory trees that fit your terminal
- Instant fuzzy-search for navigating large codebases
- cd integration via br shell function — faster than typing paths
- Toggle sizes, dates, permissions, and hidden files
- File operations, content search (grep), and preview built-in