lstr
« Back to VersTracker
Description:
Fast, minimalist directory tree viewer
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: cli productivity file-system developer-tools visualization
Install: brew install lstr
About:
Lstr is a command-line utility that displays directory structures in a clean, compressed tree format. It intelligently omits common clutter like .git directories and node_modules to focus on relevant project files. The tool prioritizes speed and readability, making it ideal for quickly understanding complex codebases.
Key Features:
  • Compressed tree view for better readability
  • Automatic filtering of common ignore patterns
  • High performance with minimal startup time
  • Optional color output for enhanced visual distinction
Use Cases:
  • Quickly visualizing project structure before refactoring
  • Navigating large codebases to understand directory hierarchy
  • Generating clean directory listings for documentation
Alternatives:
  • tree – Lstr offers a more minimalist output by default and includes built-in ignore filtering, whereas tree requires flags for similar functionality.
  • ls -R – Lstr provides a hierarchical visual structure, unlike the recursive list format of ls -R which can be difficult to parse visually.
Version History
Detected Version Rev Change Commit