The tree
command with icons made with Modern C++
Install Fonts Terminal Root
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
git clone https://github.com/terroo/treepp
cmake -B build .
cmake --build build/
sudo cmake --install build/
Examples
tree++ .
tree++ /path/to/dir
# or
tree++ /path/to/dir/
The slash at the end does not depend on.
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
Want to debug before installing? Dependencies:
Run:
ter debug.ter
./a.out