System & Utilities

tre

Tree command, improved.

By dduan. Free and open source for Windows, macOS, Linux. Latest version v0.4.0, released 2022-06-19.

Is tre safe?

Trust score 37/100: Low trust. Little evidence that this is safe or maintained. Only install it if you know the project, ideally in a sandbox or virtual machine.

Things to watch:

1,229 GitHub stars · 25k downloads · 4 contributors · OpenSSF Scorecard 2.8/10.

Download tre

Downloads come straight from github.com/dduan/tre.

About tre

A modern alternative to the tree command that: • lists directory structure in a tree-like diagram, like the classics. • skips ignored files in git repositories per .gitignore setting. • creates shell aliases for each listing that opens the files for you. • output in colors, respecting [LSCOLORS][] settings when they exist.

… in case you missed it: [8] is shown in front of "README.md" and typing e8 opened the file! See how to set this up.

[LSCOLORS]: https://man7.org/linux/man-pages/man5/dircolors.5.html

The commands above are basic instructions. Use your favorite alternatives if you have one. For example, use a config file for Nix; or other method to install from AUR; pkgsrc can be use on OSes other than NetBSD etc.

Similar apps

Questions

Is tre safe to download?

tre has an OpenShelf trust score of 37/100 (Low trust). Little evidence that this is safe or maintained. Only install it if you know the project, ideally in a sandbox or virtual machine. Main thing to watch: No code changes in over a year.

Is tre free?

Yes. tre is free and open source under the MIT license. The source code is public at github.com/dduan/tre.

Does tre work on Windows, macOS and Linux?

tre is available for Windows, macOS, Linux. Ready-made downloads exist for Windows, macOS, Linux.

How do I install tre?

Download the official file from the project's GitHub releases (for example tre-v0.4.1-x86_64-pc-windows-msvc.msi) and run it.

What are alternatives to tre?

Similar open-source apps: scrcpy (v5.0.1) (trust 81/100), Tauri (trust 75/100), Neovim (trust 71/100), Ghidra (trust 66/100).