Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 lsd

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lsd

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install lsd

MacPorts ports tree · sysutils/lsd/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add lsd

Alpine Linux edge package indexes · lsd · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install lsd

Debian stable package indexes · lsd · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install lsd

Fedora Rawhide package metadata · lsd · 来源: dl.fedoraproject.org

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

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

Arch Linux pacman已验证 · 92%
sudo pacman -S lsd

Arch Linux sync databases · lsd · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install lsd

openSUSE Tumbleweed package metadata · lsd · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/lsd

Scoop official bucket manifest trees · bucket/lsd.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id lsd-rs.lsd -e

Windows Package Manager source index · lsd-rs.lsd · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Clone of ls with colorful output, file type icons, and more

命令和别名

  • lsd

历史

项目历史与用法

lsd is a Rust implementation of a modern `ls`-style file-listing command with color, icons, themes, and configuration.

项目历史

The official repository describes lsd as 'the next gen ls command'. It was created on GitHub in November 2018 and early releases appeared in December 2018, followed by v1.0.0 in August 2023 and v1.2.0 in October 2025.

The README documents a familiar package-manager installation matrix across Linux distributions, macOS, BSDs, Windows, and source builds. It also credits the colorls project and sharkdp's fd project for inspiration and CI ideas.

采用历史

lsd has become one of the best-known modern `ls` replacements in package-manager culture. GitHub metadata showed about 16k stars and over 500 forks by July 2026, and the supplied package-manager facts list Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, WinGet, and openSUSE.

Its adoption follows the broader terminal-aesthetics wave around Nerd Fonts, icons, themes, and Rust CLI tools: users often install it alongside shells, prompt themes, and other replacements for classic Unix commands.

使用方式

Users run `lsd` directly or alias `ls` to `lsd` in shell startup files. The README documents icon prerequisites, package-manager installation commands, and optional shell configuration.

Customization is via `config.yaml`, `colors.yaml`, and `icons.yaml` under the lsd configuration directory. On Unix-like systems the README says lsd follows XDG and checks `$HOME/.config/lsd` and `$XDG_CONFIG_HOME/lsd`; on Windows it checks `%USERPROFILE%\.config\lsd` and `%APPDATA%\lsd`.

为什么软件包爱好者会关心

lsd is significant because it packages a complete modern terminal visual style into a small command. For package nerds, it is the canonical example of a Rust CLI replacing a core Unix affordance while still fitting naturally into Homebrew, distro repositories, and Windows package managers.

时间线

  • 2018: GitHub repository created and early 0.x releases published.
  • 2023: v1.0.0 released.
  • 2025: v1.2.0 released.
  • 2026: GitHub metadata shows broad adoption and continued activity.

Related projects

  • lsd is related to GNU/BSD `ls`, colorls, exa/eza, Nerd Fonts, Font Awesome, and the wider Rust CLI ecosystem.

安全态势

风险级别:绿色

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 元数据适用于 6 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/lsd/config.yaml~/.config/lsd/colors.yaml~/.config/lsd/icons.yaml$XDG_CONFIG_HOME/lsd/config.yaml$XDG_CONFIG_HOME/lsd/colors.yaml$XDG_CONFIG_HOME/lsd/icons.yaml
Windows
%USERPROFILE%\.config\lsd\config.yaml%USERPROFILE%\.config\lsd\colors.yaml%USERPROFILE%\.config\lsd\icons.yaml%APPDATA%\lsd\config.yaml%APPDATA%\lsd\colors.yaml%APPDATA%\lsd\icons.yaml

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-26
管理器版本1.2.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v1.2.0

https://github.com/lsd-rs/lsd

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:lsd
版本1.2.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/lsd
主页https://github.com/lsd-rs/lsd
仓库https://github.com/lsd-rs/lsd
上游文档https://github.com/lsd-rs/lsd#readme
许可证Apache-2.0
源码归档https://github.com/lsd-rs/lsd/archive/refs/tags/v1.2.0.tar.gz
构建依赖pandoc, rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

lsd 1.1.5-5+b1

ls command with a lot of pretty colors and some other stuff

https://github.com/lsd-rs/lsd

sudo apt install lsd
  • Section: utils
  • Architecture: amd64
  • Source Package: rust-lsd
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Lsd
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lsd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

lsd

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

lsd 1.0.0-2

ls command with a lot of pretty colors and some other stuff

sudo apt install lsd
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: rust-lsd
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Lsd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lsd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

lsd 1.2.0-r1

Next-Gen ls command

https://github.com/lsd-rs/lsd

sudo apk add lsd
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: lsd
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Lsd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lsd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

lsd-bash-completion 1.2.0-r1

Bash completions for lsd

https://github.com/lsd-rs/lsd

sudo apk add lsd-bash-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: lsd
  • normalized package name match
  • 匹配方式:Lsd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lsd-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

lsd-fish-completion 1.2.0-r1

Fish completions for lsd

https://github.com/lsd-rs/lsd

sudo apk add lsd-fish-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: lsd
  • normalized package name match
  • 匹配方式:Lsd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lsd-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

lsd-zsh-completion 1.2.0-r1

Zsh completions for lsd

https://github.com/lsd-rs/lsd

sudo apk add lsd-zsh-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: lsd
  • normalized package name match
  • 匹配方式:Lsd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lsd-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

lsd 1.2.0-6.fc45

Ls command with a lot of pretty colors and some other stuff

https://crates.io/crates/lsd

sudo dnf install lsd
  • License: (MIT OR Apache-2.0) AND BSD-3-Clause AND GPL-2.0-only WITH GCC-exception-2.0 AND MIT AND Unicode-DFS-2016 AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: rust-lsd
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Lsd
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lsd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

lsd 1.2.0-2

Modern ls with a lot of pretty colors and awesome icons

https://github.com/lsd-rs/lsd

sudo pacman -S lsd
  • License: Apache-2.0
  • Architecture: x86_64
  • 3 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Lsd
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: lsd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

lsd 1.2.0-1.3

Ls command with a lot of pretty colors and some other stuff

https://crates.io/crates/lsd

sudo zypper install lsd
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: lsd
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Lsd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lsd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

lsd

sudo port install lsd
  • normalized package name match
  • 匹配方式:Lsd
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/lsd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/lsd

scoop install main/lsd
  • normalized package name match
  • 匹配方式:Lsd
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/lsd.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

lsd-rs.lsd

winget install --id lsd-rs.lsd -e
  • normalized package name match
  • 匹配方式:Lsd
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: lsd-rs.lsd from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

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

使用的来源

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