About lstr
A fast, minimalist directory tree viewer, written in Rust
A fast, minimalist directory tree viewer, written in Rust
A fast, minimalist directory tree viewer, written in Rust
Release Notes
Added
• Added comprehensive sorting options for both classic and interactive modes:
• --sort <TYPE>:Sort by name (default), size, modified time, or extension
• --dirs-first:Sort directories before files
• --case-sensitive:Use case-sensitive sorting with specific order (numbers → uppercase → lowercase)
• --natural-sort:Version-aware sorting (file1 < file2 < file10)
• --reverse:Reverse any sort order
• --dotfiles-first:Priority ordering (dotfolders → folders → dotfiles → files)
• Added comprehensive examples directory (examples/sample-directory/) with various file types, nested structures, and test scenarios for validating lstr functionality including icons, gitignore behavior, and tree display.
• Added interactive search functionality in TUI mode:
• Press / to enter search mode with real-time filename filtering
• Case-insensitive substring matching filters files as you type
• Press Esc to exit search and restore full file list
• Status line shows current search query and match count
• Preserves tree structure and selection state during filtering (Closes #30)
Added
• Releases are now built with cargo-dist:shell/PowerShell installers, a Windows MSI, six prebuilt targets (x86_64/aarch64 for Linux, macOS, Windows), and automated publishing to Homebrew, Scoop, AUR (lstr-bin), and WinGet
• Added --du to show directories with the cumulative size of their contents (like tree --du, implies -s); the summary line and JSON report include the total (Closes #12)
• Added --output json for machine-readable classic-mode output, including sizes, permissions, and git status when the matching flags are set (progress toward #7)
• Added mouse support in interactive mode:scroll wheel moves the selection, click selects, and clicking the selected entry opens/toggles it (Closes #28)
• Added --file-depth <LEVEL> to hide individual files below a depth, summarized per directory as [+N files] — useful for high-level project overviews (Closes #9)
• Added --max-items <N> to cap entries shown per directory, summarizing the rest as [+N more] (Closes #8)
• Interactive mode now returns to the tree after closing the editor instead of exiting, preserving expansion and selection and picking up file changes (Closes #3, Closes #22)
• Added --editor <COMMAND> to interactive mode for custom file openers, and $VISUAL is now honored before $EDITOR (Closes #26) …
| Publisher | Brandon Greenwell |
|---|---|
| Version | 0.4.0 |
| Release date | 2026-07-14 |
| License | MIT |
| Installer type | wix |
| Architecture | x64 |
| Package ID | bgreenwell.lstr |
| Install scope | All users |
winget install --id=bgreenwell.lstr -ewinget upgrade --id=bgreenwell.lstr -ewinget uninstall --id=bgreenwell.lstr -emsiexec /i "lstr-x86_64-pc-windows-msvc.msi" /quiet /norestartmsiexec /x {93EEB8CD-E6B6-41C9-A81D-34AAEF5F3916} /quietRelease Notes
Added
- Added comprehensive sorting options for both classic and interactive modes:
- --sort <TYPE>: Sort by name (default), size, modified time, or extension
- --dirs-first: Sort directories before files
- --case-sensitive: Use case-sensitive sorting with specific order (numbers → uppercase → lowercase)
- --natural-sort: Version-aware sorting (file1 < file2 < file10)
- --reverse: Reverse any sort order
- --dotfiles-first: Priority ordering (dotfolders → folders → dotfiles → files)
- Added comprehensive examples directory (examples/sample-directory/) with various file types, nested structures, and test scenarios for validating lstr functionality including icons, gitignore behavior, and tree display.
- Added interactive search functionality in TUI mode:
- Press / to enter search mode with real-time filename filtering
- Case-insensitive substring matching filters files as you type
- Press Esc to exit search and restore full file list
- Status line shows current search query and match count
- Preserves tree structure and selection state during filtering (Closes #30)
Added
- Releases are now built with cargo-dist: shell/PowerShell installers, a Windows MSI, six prebuilt targets (x86_64/aarch64 for Linux, macOS, Windows), and automated publishing to Homebrew, Scoop, AUR (lstr-bin), and WinGet …
Yes. lstr is free and open-source software released under the MIT license.
The latest version is 0.4.0, released on Jul 14, 2026.
The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with 4f0d52c72e4bae8194108f55df0a6e2e4d3302d61fc80f0ec6d2a78bfd139f38.
lstr runs on Windows and is available for 64-bit (x64) systems.
Run the offline installer with msiexec /i "lstr-x86_64-pc-windows-msvc.msi" /quiet /norestart, or install it with Windows Package Manager: winget install --id=bgreenwell.lstr -e --silent.
Open Settings › Apps › Installed apps, find lstr and select Uninstall. From the command line, run winget uninstall --id=bgreenwell.lstr -e.