broot(1)

πŸ’– broot(1) β€” the broot manual page, but make it make sense πŸ’–

okay bestie, welcome to the broot manpage, aka the broot manpage. yes that's the manual name, we're keeping it, don't come for me. this is the whole thing, every flag, every default, every warning β€” just with actual personality. pull up a chair. πŸŽ€


✨ NAME ✨

broot β€” Tree view, file manager, configurable launcher</p>. that's the whole vibe. it's giving "file explorer but make it fashion". πŸ’…


🌸 SYNOPSIS 🌸

broot [flags] [options] [path]
br [flags] [options] [path]

two ways in, same energy. broot is the main character, br is the cool nickname you actually use. πŸ¦‹


πŸ’œ DESCRIPTION πŸ’œ

broot lets you explore file hierarchies with a tree-like view, manipulate files, launch actions, and define your own shortcuts. like, literally all of it. your filesystem but it's a whole aesthetic. 🌈

okay so this is the important bit πŸ‘‡ broot is best launched as br: that shell function gives you access to more commands, especially cd. the way that cd just works?? iconic. and the br shell function is interactively installed on first broot launch β€” so it just shows up and asks you nicely. no cap. 🫢

Flags and options can be classically passed on launch but also written in the configuration file. and here's the slay part: each flag has a counter-flag so you can cancel, at the command line, a flag which has been set in the configuration file. so if your config says yes but today you say no? you win. periodt. πŸ‘‘


⭐ FLAGS ⭐

πŸ’€ FLAGS πŸ’€

okay there's a lot, but they're all here, I promise. no skipping, we don't do that here. πŸ’–

  • -d, --dates β€” show the last modified date of files and directories. timestamps are lowkey everything. πŸ•
  • -D, --no-dates β€” don't show the last modified date. the counter-flag of the above, bestie.
  • -f, --only-folders β€” only show folders. files? not invited to this party. πŸ™ˆ
  • -F, --no-only-folders β€” show folders and files alike. everyone's welcome again.
  • --show-root-fs β€” show filesystem info on top. lil info bar, cute.
  • -g, --show-git-info β€” show git statuses on files and stats on repo. git girlies rise. πŸ”₯
  • -G, --no-show-git-info β€” don't show git statuses on files and stats on repo. the off switch, fr fr.
  • --git-status β€” only show files having an interesting git status, including hidden ones. note that "interesting" β€” it's a whole vibe check for your working tree.
  • --help β€” print help information. the original "help me help you". πŸ’€
  • -h, --hidden β€” show hidden files. the dotfiles are coming out tonight. πŸ‘€
  • -H, --no-hidden β€” don't show hidden files.
  • -i, --git-ignored β€” show git ignored files. yes, the ones in .gitignore. we're being brave today.
  • -I, --no-git-ignored β€” don't show git ignored files.
  • -p, --permissions β€” show permissions. rwxr-xr-x my beloved. πŸ”
  • -P, --no-permissions β€” don't show permissions.
  • -s, --sizes β€” show the size of files and directories.
  • -S, --no-sizes β€” don't show sizes.
  • --sort-by-count β€” sort by count (only show one level of the tree). one level only, we're keeping it shallow. 🌊
  • --sort-by-date β€” sort by date (only show one level of the tree).
  • --sort-by-size β€” sort by size (only show one level of the tree).
  • --sort-by-type β€” same as --sort-by-type-dirs-first. an alias, a shortcut, a lil treat. πŸŽ€
  • --sort-by-type-dirs-first β€” sort by type, directories first (only show one level of the tree).
  • --sort-by-type-dirs-last β€” sort by type, directories last (only show one level of the tree).
  • -w, --whale-spotting β€” sort by size, show ignored and hidden files. big files get the spotlight, ignored and hidden ones included. πŸ‹ iconic name, honestly.
  • --no-sort β€” don't sort.
  • -t, --trim-root β€” trim the root too and don't show a scrollbar.
  • -T, --no-trim-root β€” don't trim the root level, show a scrollbar.
  • *--outcmd=OUTCMD* β€” where to write the produced cmd (if any).
  • *-c, --cmd=CMD* β€” semicolon separated commands to execute.
  • --color=COLOR [default: auto] β€” whether to have styles and colors (default is usually OK). possible values: auto, yes, no. leave it alone and it's usually fine ✨
  • *--conf=CONF* β€” semicolon separated paths to specific config files.
  • *--height=HEIGHT* β€” height (if you don't want to fill the screen or for file export).
  • --install β€” install or reinstall the br shell function.
  • *--set-install-state=SET_INSTALL_STATE* β€” where to write the produced cmd (if any). possible values: undefined, refused, installed. yes, that's exactly what the manpage says it does. we report, we don't explain. πŸ™ˆ
  • *--print-shell-function=PRINT_SHELL_FUNCTION* β€” print to stdout the br function for a given shell.
  • *--listen=LISTEN* β€” a socket to listen to for commands.
  • --get-root β€” ask for the current root of the remote broot.
  • *--write-default-conf=WRITE_DEFAULT_CONF* β€” write default conf files in given directory.
  • *--send=SEND* β€” a socket that broot sends commands to before quitting.
  • -V, --version β€” print version. hiii what version are you πŸ‘‹

πŸ¦‹ BUGS πŸ¦‹

gn, some real talk. 🫢

broot is known to be slow on most Windows installations. not a vibe, but it's true and we're saying it.

On unix and mac platforms, most problems you may encounter are related to some terminals or terminal multiplexers which either intercepts some standard TTY instructions or break buffering or size querying. so it's not you, it's the terminal, but also kind of the terminal. 😭 the list of shortcuts you can define in the config file is thus dependent of your system. important! iykyk.


🌸 AUTHOR 🌸

broot is free and open-source and is written by denys.seguret@gmail.com. the source code and documentation are available at https://dystroy.org/broot. go say hi, go read the docs, go be a main character. πŸ‘‘


<div align="center">πŸŽ€ ✨ πŸŽ€</div>

and that's the whole page bestie, no cap, every single flag accounted for. this was the broot manpage, version 1.62.0, served fresh in the broot(1) section of your friendly neighbourhood manual. mwah. πŸ’–πŸ’…πŸ¦‹


πŸ“¦ where this page comes from