Navigate directory trees, find files and run commands in the terminal
open sourceMITself-hostablefree
broot is an MIT-licensed terminal tool, written in Rust, for navigating directories, finding files and launching commands. It shows a directory tree that fits the screen even for big directories, summarising what doesn't fit as unlisted and hiding gitignored and hidden files until you toggle them. Typing fuzzy-filters the whole tree as you search, so you keep sight of where matches sit, and you can cd into a directory from the br shell function. It previews files, shows sizes to find what takes space, shows git statuses, works with two panels and a staging area to copy, move or delete files, has a trash, exports trees, and runs verbs (built-in or your own commands) on one or several files. Keys, verbs, skins and icons are configurable, with an optional modal (vim-like) mode. It runs on Linux, macOS and Windows 10+.
Ways to install
Package managers
Problems it solves
- see an overview of a big directory in the terminal without pages of tree output
- find a file or folder by fuzzy search and cd into it
- find what takes disk space in a directory from the terminal
- a terminal file manager with panels to copy and move files
- a replacement for ls and tree that respects .gitignore
Features
- directory tree that fits the screen, with unlisted counts
- respects .gitignore and .ignore; toggles for hidden and ignored files
- fuzzy and regex search across the tree as you type
- br shell function to cd into the chosen directory
- file sizes to see what takes space
- git status display
- file preview, two panels, staging area and trash
- verbs: built-in and custom commands on one or several files
- configurable keys, skins, icons and an optional modal mode
- tree export and client-server mode
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what broot does.
- tree Tree for Unix/Linux: display a tree view of directories