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.
- Established community: 1,229 GitHub stars
- Downloads come straight from the project's own GitHub releases
- Around since 2019
Things to watch:
- No code changes in over a year
- The latest release is more than 18 months old
- Weak automated security checks (OpenSSF Scorecard 2.8/10)
- No checksums or signatures published: you can't verify the download
1,229 GitHub stars · 25k downloads · 4 contributors · OpenSSF Scorecard 2.8/10.
Download tre
- tre-v0.4.0-aarch64-apple-darwin.tar.gz (macOS, 634 KB)
- tre-v0.4.0-arm-unknown-linux-gnueabihf.tar.gz (Linux, 683 KB)
- tre-v0.4.0-i686-pc-windows-msvc.zip (Windows, 668 KB)
- tre-v0.4.0-x86_64-apple-darwin.tar.gz (macOS, 702 KB)
- tre-v0.4.0-x86_64-pc-windows-gnu.zip (Windows, 2.3 MB)
- tre-v0.4.0-x86_64-pc-windows-msvc.zip (Windows, 668 KB)
- tre-v0.4.0-x86_64-unknown-linux-musl.tar.gz (Linux, 783 KB)
- tre-v0.4.1-x86_64-pc-windows-msvc.msi (Windows, 1000 KB)
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
- scrcpy (v5.0.1): Display and control your Android device (High trust, 81/100)
- Tauri: Build smaller, faster, and more secure desktop and mobile applications with a web frontend. (High trust, 75/100)
- Neovim: Vim-fork focused on extensibility and usability (Good, 71/100)
- Ghidra: Ghidra is a software reverse engineering (SRE) framework (Good, 66/100)
- Zed: Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter. (Good, 73/100)
- Bitcoin: Bitcoin Core integration/staging tree (Good, 66/100)
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).