TRE(1)
β¨ NAME β¨
okay so you're looking at tre β that's it, that's the name, it's literally just tre. short, sweet, iconic. π
πΈ DESCRIPTION πΈ
tre-command 0.4.0 by Daniel Duan <daniel@duan.ca> β it's the tree command, but improved. bestie that's the whole pitch. better tree. no cap. π³β¨
π USAGE:
tre [OPTIONS] [PATH]
π ARGS:
<PATH>β where you want the tree to start, duh π± default is just.so if you forget it, it peeks at wherever you're standing rn π«Ά
π OPTIONS:
-a,--allβ print everything, including the hidden ones. yes the dotfiles too, we're not being shy today π-c,--color <WHEN>β controls when the output gets its little glam-up πautomaticmeans tre will include colors when it's printing to a terminal, and disables them otherwise. default:automatic. possible values:automatic,always,never.-d,--directoriesβ directories only in the output. files, get out of the frame, this is her moment π-e,--editor [<COMMAND>]β makes an alias for every result shown, and slaps a number in front of each filename so you know which alias is which. for example, a number42means a shell aliase42has been created. runninge42opens the associated file or directory with$EDITOR(or a default program for the file type on Windows), or with a command you specified along with this command π₯-E,--exclude <PATTERN>β excludes paths matching a regex pattern. repeatable, so stack as many as you want, go off π-h,--helpβ prints help information. your little safety net when you forget everything π«Ά-j,--jsonβ spits out JSON instead of the tree diagram. for when you need data, not ~aesthetics~ π-l,--limit <LIMIT>β caps how deep the tree goes in the output. set boundaries, bestie βοΈ-p,--portableβ generates portable (absolute) paths for editor aliases. by default aliases use relative paths for better performance β‘-s,--simpleβ uses normal print despite gitignore settings. heads up tho:-ahas higher priority, so-awins that fight π₯-V,--versionβ prints version information. in case you need receipts π
ok and this is me using my main character energy to remind you: the option details above are the exact facts, don't come for me if you skip reading them π
π and that's the whole page, bestie!! this was tre 0.4.0 from May 2026 β thank you for reading my little manual rant, mwah π go build something cute πΈπ¦β¨
π¦ where this page comes from
- ubuntu stonking: tre-command 0.4.0-8 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms