A fast and colorful Rust CLI tool to print directory trees — like tree
, but better.
Includes stats, ignore filters, text export, and human-readable performance timing.
- ✅ Beautiful Unicode tree output with colors
- 📦 Built-in ignore list (
.git
,node_modules
, etc.) - 🧹
--ignore
and--include
for custom control - 📊 Optional stats: number of files, dirs, and total size
- ⏱️ Human-readable processing time
- 📄 Save output to a
.txt
file
rust
andcargo
👉 Install via rustup.rs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Then restart your terminal and verify:
rustc --version
cargo --version
cargo install vtreex
git clone https://github.com/07calc/vtreex.git
cd vtreex
cargo build --release
cargo install --path .
vtreex ${path} ( . by default)
vtreex -d 3
vtreex --stats
vtreex --output tree.txt
Include ignored folders (e.g., .git)
vtreex --include .git
.
├── .gitignore
├── Cargo.lock
├── Cargo.toml
└── src
└── main.rs
📁 1 directories, 📄 4 files
📦 Total size: 12.87 kB
⏱️ Processed in 124μs