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

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

## インストール

```sh
sudo av install brew:lsr
```

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

### macOS

- Homebrew (100%):

```sh
brew install lsr
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#lsr
```

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

## パッケージ情報

- **パッケージキー:** brew:lsr
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.0.0
- **ソース概要:** Ls but with io_uring
- **ホームページ:** <https://tangled.org/rockorager.dev/lsr>
- **最終更新:** 2026-07-05T13:15:03+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- lsr (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.0.0
## プロジェクトの歴史と使われ方

lsr is a Zig implementation of `ls(1)` that uses io_uring where possible to reduce syscall overhead. The official README calls it `ls(1)` but with io_uring, and the author's write-up describes it as an exercise in syscall golf.

### プロジェクトの歴史

The project was publicly introduced by Tim Culverhouse in a 2025-05-06 write-up. The author explains that lsr uses the ourio library and io_uring to batch I/O work such as opening directories, reading local time, user and group data, and performing stat-like calls.

The official repository is hosted on Tangled. Its README documents Zig 0.14.0 build/install instructions, a manpage install target, and common `ls`-style display options including long output, columns, sorting, colors, hyperlinks, icons, and directory grouping.

### 採用の歴史

lsr is young and specialized, but it already reached Homebrew and Nix in the supplied package facts. Its adoption is primarily among users interested in Linux filesystem performance, Zig tooling, and modern `ls` alternatives.

### 使われ方

Typical usage mirrors `ls`: run `lsr [options] [path]`. The README documents options for one-entry-per-line output, hidden files, columns, color mode, directories-first grouping, OSC 8 hyperlinks, icons, long output, reverse sort, and modification-time sorting.

The author's benchmarks compare lsr against GNU ls, eza, lsd, uutils ls, and BusyBox ls on directories from 10 to 10,000 files. The README notes that lsr works on macOS and BSD too, but the io_uring syscall batching benefits are Linux-specific.

### パッケージ好きにとっての重要性

lsr is package-nerd interesting because it revisits the most ordinary Unix command with a very modern Linux I/O interface. It is not a general replacement for mature `ls` implementations yet, but it is a compact demonstration of where syscall batching can matter in command-line filesystem tools.

### タイムライン

- 2025: Author publishes the lsr write-up and benchmarks.
- 2025: Tangled repository documents version 0.1.0 benchmark data.
- 2026: Supplied package facts list Homebrew and Nix packaging.

### Related projects

- Related tools include GNU coreutils ls, BusyBox ls, eza, lsd, uutils ls, the Zig language, io_uring, and the author's ourio library.

### ソース

- <https://rockorager.dev/posts/lsr-ls-but-with-io-uring/>
- <https://tangled.org/rockorager.dev/lsr>
- <https://tangled.sh/@rockorager.dev/lsr>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

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

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

- Nix - lsr: normalized package name match | nixpkgs package indexes: pkgs/by-name/ls/lsr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

- 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
