https://github.com/terroo/treepp
The `tree` command with icons made with Modern C++
https://github.com/terroo/treepp
Last synced: about 1 month ago
JSON representation
The `tree` command with icons made with Modern C++
- Host: GitHub
- URL: https://github.com/terroo/treepp
- Owner: terroo
- License: bsl-1.0
- Created: 2025-04-10T16:42:58.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-05-18T23:22:15.000Z (7 months ago)
- Last Synced: 2025-05-18T23:30:11.607Z (7 months ago)
- Language: C++
- Size: 733 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cli-apps-in-a-csv - treepp - The `tree` command with icons made with Modern C++. (<a name="viewers"></a>Viewers)
- awesome-cli-apps - treepp - The `tree` command with icons made with Modern C++. (<a name="viewers"></a>Viewers)
README
# `tree++`
The `tree` command with icons made with Modern C++

---
## Fonts
Install [Fonts Terminal Root](https://github.com/terroo/fonts)
---
## Quick install for Ubuntu
```bash
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:
```bash
tree++ --version # Or -v
```
> `tree++ v1.0.1`
---
## Build and install
```bash
git clone https://github.com/terroo/treepp
cmake -B build .
cmake --build build/
sudo cmake --install build/
```
---
## Using
> Examples
```bash
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:
```bash
sudo apt remove tree
sudo ln -s /usr/local/bin/tree++ /usr/local/bin/tree
```
---
## Debug
Want to debug before installing? Dependencies:
+ [Terlang](https://github.com/terroo/terlang)
+ [Clang++](https://clang.llvm.org/)
+ Optional: `sudo apt install libc++-dev libc++abi-dev`
Run:
```bash
ter debug.ter
./a.out
```