The rtree onboarding wizard is an interactive, step-by-step setup guide built right into the CLI. It helps you verify your terminal environment and configure optional convenience features.
rtree --onboard
The wizard guides you through 3 steps and takes less than a minute to complete.
The wizard displays all icons that rich-tree uses in a compact grid. You can immediately see whether your terminal is rendering them correctly.
What you should see:
A dense grid of small, distinct glyphs — file icons, folder icons, language logos, etc. Each glyph should be a clear symbol, not a box (□) or question mark (?).
If icons look correct:
Answer y (Yes) when asked. The wizard moves on to the next step.
If icons appear as boxes or question marks:
Answer n (No). The wizard displays detailed instructions for installing and configuring a Nerd Font:
rtree --onboard to verifyYou can also patch your own existing font using the Nerd Fonts patcher.
This step lets you alias the classic tree command to rtree, so existing habits and scripts that use tree automatically benefit from rich-tree’s features.
When prompted, answer:
y — to see shell-specific alias instructionsn — to skip (you can always re-run rtree --onboard later)Shell-specific instructions provided:
# Add to ~/.bashrc or ~/.zshrc
alias tree="rtree"
# Reload your shell
source ~/.bashrc # or ~/.zshrc
# Add to your PowerShell profile ($PROFILE)
New-Alias tree rtree
REM Create C:\Windows\System32\tree.bat with:
@echo off
call rtree %*
alias tree="rtree"
funcsave tree
For shells not covered above, the wizard suggests searching online for “how to add aliases to [your shell]”.
The wizard displays a formatted table of all available flags with short descriptions and usage examples:
| Flag | Description | Example |
|---|---|---|
--show-size / -ss |
Show file sizes | rtree -ss |
--show-modified / -sm |
Show last-modified timestamps | rtree -sm |
--show-created / -sc |
Show creation timestamps | rtree -sc |
--show-accessed / -sa |
Show last-accessed timestamps | rtree -sa |
--show-git / -sg |
Overlay git status on each file | rtree -sg |
--depth / -d |
Limit tree depth | rtree -d 3 |
--exclude / -e |
Exclude folders (comma-separated) | rtree -e dist,build |
--ignore-dot / -id |
Hide dotfiles | rtree -id |
--all / -a |
Show hidden & git-ignored files | rtree -a |
--export-html / -o |
Save tree as an HTML file | rtree -o out.html |
After step 3, the wizard displays a completion message with links to:
You can re-run the wizard at any time:
rtree --onboard
This is useful after:
| Key | Action |
|---|---|
y / Enter |
Confirm / Yes |
n |
No / Skip |
Ctrl+C |
Cancel the wizard and exit |