terroo / treepp

The `tree` command with icons made with Modern C++

Repository from Github https://github.comterroo/treeppRepository from Github https://github.comterroo/treepp

tree++

The tree command with icons made with Modern C++

tree++


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

About

The `tree` command with icons made with Modern C++

License:Boost Software License 1.0


Languages

Language:C++ 95.9%Language:CMake 4.1%