broot is a command-line file manager for Windows, Linux and macOS

While Explorer is sufficient for most users, some of us prefer an alternative file manager. If you prefer command-line tools over GUI-based programs, we’ve got just the thing for you: broot.

broot is a command-line file manager for Windows, Linux and macOS

Broot is a command-line file manager for Windows, Linux and macOS.

Broot is a portable application, though it creates a config folder under “C:UsersUSERNAMEAppDataRoamingdystroybrootconfig”. Oddly, the archive from GitHub comes with both the Linux and Windows versions. Look for the folder named “x86_64-pc-windows-gnu” which contains broot.exe. The executable is about 6.36MB in size and it’s all you need.

The program displays a status bar near the bottom, which is sort of a like a help tool. The Esc key acts similar to the back key in your browser, and goes back to the previous folder. Use the right arrow key to open a folder, and the left arrow key to go back. The up and down arrow keys are used for selecting a folder or file. When a folder is highlighted, hit the Enter key to go up a level. However, if a file is selected, Enter is used to open the file. It may sound confusing, but you’ll get used to it.

Another way to navigate through the files is to use the built-in filter option. The bottom of the window has a command-line which you can type in. Start typing the name of a file, and broot will display the relevant results. This works in real-time as you type, and uses fuzzy search. Use the / symbol for regular expressions.

broot search

But if you think all this keyboard navigation is a bit too much for you, don’t worry, broot supports mouse controls as well. Select with a single-click and open with double-click. There are several commands (verbs) supported in broot. Cd changes the directory, cp copies a file, md can be used to create a folder, etc.

You can always view the built-in help using the ? key, to learn the shortcuts.  All commands are executed after inserting a space. So, merely hitting the ? key doesn’t display the help. Add a space, followed by ? and then by Enter to access the help contents. If you don’t use the space key, the program will instead search in the folder.

Let’s take a look at another example. broot will not display folders by default, you’ll need to toggle the view. Use the files verb for this. To do this, type [SPACE] files [ENTER]. Repeat this command to only display files (and hide the sub-folders).

Tip: Resize the window to view more files/folders. The program auto-hides the list of contents depending on its current window size.

broot does not come with an internal file-viewer, but if you highlight a file and press the right arrow key, it will open the file in its default handler application. Hold the control button and press the right arrow key, to open the previous folder in a dual-pane view. You can open several panels, one for each folder. That’s a really cool way to navigate folders. Hit Escape to close a panel.

I mentioned that the program creates a config folder, it contains a conf.toml file. Edit this file and you’ll be able to customize the appearance of broot by changing the colors of the background, tree, text, etc. I recommend reading the official documentation for advanced information.

You can download the broot binaries from the download page.

The controls take some time getting used to, but broot is an interesting way to browse for files.

software image

Author Rating

no rating based on 0 votes

Software Name

broot

Operating System

Windows, Linux

Software Category

System

Price

Free

Landing Page

Advertisement