# Install lr with Homebrew, apt, Nix

File list utility with features from ls(1), find(1), stat(1), and du(1). Version 2.0.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:lr
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install lr
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install lr
```

  Evidence: Debian stable package indexes: lr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#lr
```

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

## Package facts

- **Package key:** brew:lr
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/lr>
- **Version:** 2.0.1
- **Source summary:** File list utility with features from ls(1), find(1), stat(1), and du(1)
- **Homepage:** <https://github.com/leahneukirchen/lr>
- **Repository:** <https://github.com/leahneukirchen/lr>
- **Upstream docs:** <https://github.com/leahneukirchen/lr#readme>
- **License:** MIT
- **Source archive:** <https://github.com/leahneukirchen/lr/archive/refs/tags/v2.0.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- lr (cli)
- lr (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.0.1
- Local data: ok
- Upstream repository: https://github.com/leahneukirchen/lr
- Upstream latest detected: v2.0.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

lr is a recursive file-listing command that combines parts of `ls`, `find`, `stat`, and `du` into one Unix-style CLI.

### Project history

Leah Neukirchen's GitHub repository describes lr as a tool for generating file listings with selected features from `ls(1)`, `find(1)`, `stat(1)`, and `du(1)`. The repository was created in October 2015 and the first tagged release, v0.1, followed in November 2015.

The NEWS file shows the tool maturing through Unix-flavored features: chmod-style mode checks, timestamp selection, colorized symlink targets, broken-link display, Linux ACL/capability/xattr display, breadth-first traversal, shell quoting, OSC 8 hyperlinks, and permission-error behavior.

### Adoption history

The supplied package-manager facts list Homebrew, Debian, Ubuntu, and Nix packaging. That spread fits lr's niche: it is not a coreutils replacement, but it appeals to users who want recursive listings and filter expressions without assembling long `find` pipelines.

GitHub metadata shows a modest but real audience, with 165 stars and ongoing repository activity through 2025.

### How it is used

lr is run directly as `lr` over one or more paths. The README includes a 'Rosetta stone' mapping common `ls` and `find` invocations to lr commands, and documents filters, sort keys, custom formats, depth control, symlink handling, NUL-delimited input/output, and long-output formats.

The tool has no documented config file or credentials; behavior is controlled through command-line flags and filter expressions.

### Why package nerds care

lr is interesting to package nerds because it sits between canonical Unix tools rather than replacing only one of them. It packages a personal Unix workflow into a small C utility with manpage-style semantics, making it attractive to people who care about composable file enumeration.

### Timeline

- 2015: GitHub repository created and v0.1 tagged.
- 2017: v1.0 changed quoting behavior and added locale, color, @file input, and better error reporting.
- 2023: v1.6 added basename sorting and large-file defaults.
- 2025: v2.0 changed permission-denied behavior and added quiet mode.

### Related projects

- lr overlaps with `ls`, `find`, `stat`, `du`, `xargs`, and the author's `xe` utility, which the README recommends for command execution workflows.

### Sources

- <https://api.github.com/repos/leahneukirchen/lr>
- <https://api.github.com/repos/leahneukirchen/lr/git/ref/tags/v0.1>
- <https://github.com/leahneukirchen/lr>
- <https://raw.githubusercontent.com/leahneukirchen/lr/master/NEWS.md>
- source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** lr
- **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

## Other Package-Manager Records

- Debian apt - lr - 1.5.1-3: normalized package name match | Debian stable package indexes: lr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | list files, recursively | https://git.vuxu.org/lr/about/
- Nix - lr: normalized package name match | nixpkgs package indexes: pkgs/by-name/lr/lr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - lr - 1.5.1-3: normalized package name match | Ubuntu 24.04 LTS package indexes: lr from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | list files, recursively | https://git.vuxu.org/lr/about/


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [fcp](https://www.automicvault.com/pkg/brew/fcp/) - Shares av.db curated category or tags: cli, file-management, filesystem, system, unix.
- [detox](https://www.automicvault.com/pkg/brew/detox/) - Shares av.db curated category or tags: cli, file-management, system, unix.
- [dust](https://www.automicvault.com/pkg/brew/dust/) - Shares av.db curated category or tags: cli, file-management, filesystem, system.
- [dutree](https://www.automicvault.com/pkg/brew/dutree/) - Shares av.db curated category or tags: cli, file-management, filesystem, system.
- [eza](https://www.automicvault.com/pkg/brew/eza/) - Shares av.db curated category or tags: cli, file-listing, file-management, system.
- [fdupes](https://www.automicvault.com/pkg/brew/fdupes/) - Shares av.db curated category or tags: cli, file-management, filesystem, system.
- [findutils](https://www.automicvault.com/pkg/brew/findutils/) - Shares av.db curated category or tags: cli, file-management, filesystem, system.
- [jdupes](https://www.automicvault.com/pkg/brew/jdupes/) - Shares av.db curated category or tags: cli, file-management, filesystem, system.
- [lla](https://www.automicvault.com/pkg/brew/lla/) - Local package facts share a topical domain. Shared terms: cli, file, file-listing, file-management, listing.
- [lsd](https://www.automicvault.com/pkg/brew/lsd/) - Local package facts share a topical domain. Shared terms: cli, file, file-listing, file-management, listing.

## Combined YAML source

View the package source record on GitHub. [combined/lr.yml](https://github.com/automic-vault/db/blob/main/combined/lr.yml)


## Sources

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