# lstr を Homebrew, Nix, winget でインストール

lstr のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install lstr
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:lstr
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/lstr>
- **バージョン:** 0.4.0
- **ソース概要:** Fast, minimalist directory tree viewer
- **ホームページ:** <https://github.com/bgreenwell/lstr>
- **リポジトリ:** <https://github.com/bgreenwell/lstr>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/bgreenwell/lstr/archive/refs/tags/v0.4.0.tar.gz>
- **最終更新:** 2026-07-14T05:31:51Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- lstr (cli)
- lstr (エイリアス)

## ビルド依存関係

- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.4.0
- マネージャ更新日: 2026-07-14
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/bgreenwell/lstr
- 検出された最新: v0.4.0 (最新)
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **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:** head, stable

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [parallel-disk-usage](https://pkg.so/ja/brew/parallel-disk-usage/) - Shares pkgdb curated category or tags: cli, filesystem, rust, system.
- [acl](https://pkg.so/ja/brew/acl/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [dfc](https://pkg.so/ja/brew/dfc/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [convmv](https://pkg.so/ja/brew/convmv/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [rdfind](https://pkg.so/ja/brew/rdfind/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [diskwatch](https://pkg.so/ja/brew/diskwatch/) - Shares pkgdb curated category or tags: cli, filesystem, rust, system, tui.
- [rsnapshot](https://pkg.so/ja/brew/rsnapshot/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [cpmtools](https://pkg.so/ja/brew/cpmtools/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [diskus](https://pkg.so/ja/brew/diskus/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, fast, filesystem, rust, system.
- [dutree](https://pkg.so/ja/brew/dutree/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, filesystem, rust, system, tree.

## Combined YAML source

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


## ソース

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