Terminal file browser for navigating directory trees, searching files, previewing content, and running file actions.
$cargo install --locked broot
AI Analysis
broot is a fullscreen terminal file browser for exploring directory trees, narrowing them with fuzzy or content search, previewing files, and launching actions on selections. It covers local filesystem navigation and file management more than script-first automation.
What It Enables
- Traverse large directory trees, filter by name or file content, and return a selected path or
cdtarget back to the shell. - Preview text and images, inspect git state, and surface sizes, dates, permissions, and filesystem usage without leaving the terminal.
- Open, edit, move, copy, delete, chmod, or batch-apply custom verbs to selected or staged files.
Agent Fit
--cmd,:ppor:pt,--verb-output, and Unix--sendor--get-roothooks make it usable in shell wrappers and paired-tool workflows.- There is no JSON mode, and exported paths or trees are plain text, so machine parsing is limited and brittle.
- Agent fit is mixed: useful when a workflow can drive the TUI or coordinate with a human, weaker as a headless inspect or change or verify primitive.
Caveats
cdhandoff depends on the installedbrshell function rather than thebrootbinary alone.- Remote control via
--listenand--sendis Unix-only.