Automic VaultAutomic Vault

brew

Install lstr with Homebrew, Nix

Fast, minimalist directory tree viewer. Version 0.2.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install lstr

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#lstr

nixpkgs package indexes · pkgs/by-name/ls/lstr/package.nix · source: api.github.com

overview

Package summary

Fast, minimalist directory tree viewer

Commands and aliases

  • lstr

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2025: GitHub repository created.
  • 2025: crates.io metadata shows the lstr crate first published.
  • 2025: README documents Homebrew, source, and NetBSD installation paths.

Related projects

  • Related tools include tree, eza, lsd, fzf, bat, Rust terminal UI libraries, LS_COLORS-aware file browsers, and git-aware filesystem viewers.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
lstrcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.2.1
manager updated
local dataok
upstreamcurrent
latest detectedv0.2.1

https://github.com/bgreenwell/lstr

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:lstr
Version0.2.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/lstr
Homepagehttps://github.com/bgreenwell/lstr
Repositoryhttps://github.com/bgreenwell/lstr
Upstream docshttps://github.com/bgreenwell/lstr#readme
LicenseMIT
Source archivehttps://github.com/bgreenwell/lstr/archive/refs/tags/v0.2.1.tar.gz
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelstr
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

lstr

nix profile install nixpkgs#lstr
  • normalized package name match
  • Matched by: Lstr
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ls/lstr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment