pkg.soopen package index

brew / 排名 9091

使用 Homebrew, Nix 安装 lsr

查看 lsr 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lsr

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#lsr

nixpkgs package indexes · pkgs/by-name/ls/lsr/package.nix · 来源: api.github.com

概览

软件包摘要

Ls but with io_uring

命令和别名

  • lsr

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
lsrcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本1.0.0
管理器更新时间2026-07-05
本地数据OK
上游not checked
检测到的最新版本未检测到

https://tangled.org/rockorager.dev/lsr

安装元数据

软件包元数据

软件包键brew:lsr
版本1.0.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/lsr
主页https://tangled.org/rockorager.dev/lsr
上游文档https://tangled.org/rockorager.dev/lsr
许可证MIT
源码归档https://tangled.org/rockorager.dev/lsr.git
最后更新2026-07-05T13:15:03+09:00
Pulseupdated
构建依赖zig@0.14
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

lsr

nix profile install nixpkgs#lsr
  • normalized package name match
  • 匹配方式:Lsr
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ls/lsr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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