tree++
May 18, 2025 ยท View on GitHub
The tree command with icons made with Modern C++

Fonts
Install Fonts Terminal Root
Quick install for Ubuntu
sudo wget -q4 \
https://github.com/terroo/treepp/releases/download/v1.0.1/tree++ \
-O /usr/local/bin/tree++ && \
sudo chmod +x /usr/local/bin/tree++
Run:
tree++ --version # Or -v
tree++ v1.0.1
Build and install
git clone https://github.com/terroo/treepp
cmake -B build .
cmake --build build/
sudo cmake --install build/
Using
Examples
tree++ .
tree++ /path/to/dir
# or
tree++ /path/to/dir/
The slash at the end does not depend on.
Default tree
If you want it to be your default tree command, run:
sudo apt remove tree
sudo ln -s /usr/local/bin/tree++ /usr/local/bin/tree
Debug
Want to debug before installing? Dependencies:
Run:
ter debug.ter
./a.out