Generate beautiful, icon-rich file trees for your README β instantly.
π my-project/
βββ π src/
β βββ π main.py
β βββ βοΈ App.tsx
β βββ π¨ styles.css
βββ π¦ package.json
βββ π³ Dockerfile
βββ π README.md
macOS (Homebrew) β recommended
brew tap abidit/abitree && brew install abitreepip (macOS / Linux / Windows)
pip install abitree# Current directory
abitree
# Specific path
abitree ./my-project
# Limit depth
abitree -L 2
# Output to file
abitree -o structure.md
# Wrap in markdown code block
abitree --md
# Directories only
abitree --dirs-only
# Ignore extra folders
abitree -i dist,build,.cache
# No icons (plain text)
abitree --no-icons| Flag | Description |
|---|---|
path |
Directory to scan (default: .) |
-L, --level |
Max depth |
-o, --output |
Write output to file |
-i, --ignore |
Comma-separated ignore list |
--dirs-only |
Show directories only |
--no-icons |
Disable icons |
--no-default-ignore |
Don't ignore .git, node_modules, etc. |
--md |
Wrap output in markdown code block |
.git, __pycache__, .DS_Store, .idea, .vscode, node_modules
Built by Abidit Shrestha
MIT