lstr is a fast, minimalist directory tree viewer. Inspired by the command line program tree, with a powerful interactive mode.
This is free and open source software.
Features include:
- Classic and interactive modes: Use lstr for a classic tree-like view, or launch lstr interactive for a fully interactive TUI.
- Theme-aware coloring: Respects your system’s LS_COLORS environment variable for fully customizable file and directory colors.
- Rich information display (optional):
- Display file-specific icons with –icons (requires a Nerd Font).
- Show file permissions with -p.
- Show file sizes with -s.
- Git Integration: Show file statuses (Modified, New, Untracked, etc.) directly in the tree with the -G flag.
- Smart filtering:
- Respects your .gitignore files with the -g flag.
- Control recursion depth (-L) or show only directories (-d).
Website: github.com/bgreenwell/lstr
Support:
Developer: Brandon Greenwell
License: MIT License

lstr is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| TUI File Explorers | Language | License |
|---|---|---|
| NERDTree | VimL | WTFPL License |
| xplr | Rust | MIT License |
| nvim-tree | Lua | GNU General Public License v3.0 |
| Treemacs | Emacs Lisp | GNU General Public License v3.0 |
| browsr | Python | MIT License |
| termscp | Rust | MIT License |
| vim-fern | VimL | MIT License |
| tere | Rust | European Union Public License 1.2 |
| CHADTree | Python | GNU General Public License v3.0 |
| lstr | Rust | MIT License |
| FileSSH | Rust | MIT License |
| Rust-Traverse | Rust | MIT License |
| fex | Zig | GNU General Public License v3.0 |
| transgender | Rust | BSD 2-Clause “Simplified” License |
| rovr | Python | MIT License |
| StygianSift | Rust | GNU Affero General Public License v3.0 |
| Fortress | Fortran | MIT License |
| runa | Rust | MIT License |
| sdn | C++ | 0BSD License |
| wisu | Rust | Apache License 2.0 |
| twf | Go | Developer did not reply to license info request |
| kupo | Python | Developer did not reply to license info request |
| Hop | Python | MIT License |
| FTB | C++ | MIT License |
| faint | Shell | GNU General Public License v2.0 |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.