macOS
brew install lsdlocal Homebrew formula metadata
sudo port install lsdMacPorts ports tree · sysutils/lsd/Portfile · 来源: api.github.com
安装
brew install lsdlocal Homebrew formula metadata
sudo port install lsdMacPorts ports tree · sysutils/lsd/Portfile · 来源: api.github.com
sudo apk add lsdAlpine Linux edge package indexes · lsd · 来源: dl-cdn.alpinelinux.org
sudo dnf install lsdFedora Rawhide package metadata · lsd · 来源: dl.fedoraproject.org
nix profile install nixpkgs#lsdnixpkgs package indexes · pkgs/by-name/ls/lsd/package.nix · 来源: api.github.com
sudo pacman -S lsdArch Linux sync databases · lsd · 来源: geo.mirror.pkgbuild.com
sudo zypper install lsdopenSUSE Tumbleweed package metadata · lsd · 来源: download.opensuse.org
scoop install main/lsdScoop official bucket manifest trees · bucket/lsd.json · 来源: api.github.com
winget install --id lsd-rs.lsd -eWindows Package Manager source index · lsd-rs.lsd · 来源: cdn.winget.microsoft.com
概览
Clone of ls with colorful output, file type icons, and more
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.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%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可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
lsd | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lsd |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
lsd 1.1.5-5+b1
ls command with a lot of pretty colors and some other stuff
sudo apt install lsdlsd
nix profile install nixpkgs#lsdlsd 1.0.0-2
ls command with a lot of pretty colors and some other stuff
sudo apt install lsdlsd 1.2.0-r1
Next-Gen ls command
sudo apk add lsdlsd-bash-completion 1.2.0-r1
Bash completions for lsd
sudo apk add lsd-bash-completionlsd-fish-completion 1.2.0-r1
Fish completions for lsd
sudo apk add lsd-fish-completionlsd-zsh-completion 1.2.0-r1
Zsh completions for lsd
sudo apk add lsd-zsh-completionlsd 1.2.0-6.fc45
Ls command with a lot of pretty colors and some other stuff
sudo dnf install lsdlsd 1.2.0-2
Modern ls with a lot of pretty colors and awesome icons
sudo pacman -S lsdlsd 1.2.0-1.3
Ls command with a lot of pretty colors and some other stuff
sudo zypper install lsdlsd
sudo port install lsdmain/lsd
scoop install main/lsdlsd-rs.lsd
winget install --id lsd-rs.lsd -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.