# Installer lstr avec Homebrew, Nix, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de lstr pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:lstr
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install lstr
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#lstr
```

  Preuve: nixpkgs package indexes: pkgs/by-name/ls/lstr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- winget (92%):

```sh
winget install --id bgreenwell.lstr -e
```

  Preuve: Windows Package Manager source index: bgreenwell.lstr from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:lstr
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.4.0
- **Résumé source:** Fast, minimalist directory tree viewer
- **Page d'accueil:** <https://github.com/bgreenwell/lstr>
- **Dépôt:** <https://github.com/bgreenwell/lstr>
- **Dernière mise à jour:** 2026-07-14T05:31:51Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- lstr (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.4.0
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://api.github.com/repos/bgreenwell/lstr>
- <https://crates.io/crates/lstr>
- <https://github.com/bgreenwell/lstr>
- <https://github.com/bgreenwell/lstr#readme>
- source_facts.package-manager


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Nix - lstr: normalized package name match | nixpkgs package indexes: pkgs/by-name/ls/lstr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - bgreenwell.lstr: normalized package name match | Windows Package Manager source index: bgreenwell.lstr from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/lstr.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lstr.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
