macOS
brew install lstrlocal Homebrew formula metadata
brew
Fast, minimalist directory tree viewer. Version 0.2.1 via Homebrew; verified from local package data.
install
brew install lstrlocal Homebrew formula metadata
nix profile install nixpkgs#lstrnixpkgs package indexes · pkgs/by-name/ls/lstr/package.nix · source: api.github.com
overview
Fast, minimalist directory tree viewer
history
lstr is a Rust directory tree viewer inspired by the classic `tree` command. Its README describes a fast, minimalist tool with both classic tree output and an optional interactive terminal UI.
The GitHub repository was created in 2025 and the crate was published to crates.io the same month. The README presents the project as a small Rust CLI focused on essential tree-viewing features without broad configuration surface.
The project combines familiar `tree` behavior with modern terminal conveniences: LS_COLORS-aware coloring, optional icons, file sizes and permissions, git status markers, .gitignore-aware filtering, OSC 8 hyperlinks, and an interactive mode with keyboard navigation.
lstr is newer than long-established tools such as tree, but it has already been packaged for Homebrew and Nix in the supplied package facts, and the README notes NetBSD package availability. The GitHub repository shows substantial early interest for a young filesystem CLI.
The basic CLI form is `lstr [OPTIONS] [PATH]`, defaulting to the current directory. Users can limit depth, show only directories, respect ignore files, sort by name, size, modification time, or extension, and pipe classic output to tools such as fzf, less, or bat.
The interactive mode is launched with `lstr interactive [OPTIONS] [PATH]`. The README documents keyboard controls for moving, expanding directories, opening files in `$EDITOR`, quitting, and printing a selected path to stdout for shell integration.
lstr is representative of a modern wave of Rust replacements and companions for familiar Unix tools: not a wholesale reinvention of the shell, but a focused binary that adds git awareness, color conventions, icons, and TUI ergonomics while staying close to the `tree` mental model.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
lstr | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/bgreenwell/lstr
install metadata
| Package key | brew:lstr |
|---|---|
| Version | 0.2.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/lstr |
| Homepage | https://github.com/bgreenwell/lstr |
| Repository | https://github.com/bgreenwell/lstr |
| Upstream docs | https://github.com/bgreenwell/lstr#readme |
| License | MIT |
| Source archive | https://github.com/bgreenwell/lstr/archive/refs/tags/v0.2.1.tar.gz |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lstr |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
lstr
nix profile install nixpkgs#lstrsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.