# Install lsd with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Clone of ls with colorful output, file type icons, and more. Version 1.2.0 via Homebrew; verified from local package data. Also installable with debian: sudo apt install lsd.

## Install

```sh
sudo av install brew:lsd
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install lsd
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lsd
```

  Evidence: MacPorts ports tree: sysutils/lsd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add lsd
```

  Evidence: Alpine Linux edge package indexes: lsd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install lsd
```

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

- dnf (92%):

```sh
sudo dnf install lsd
```

  Evidence: Fedora Rawhide package metadata: lsd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#lsd
```

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

- pacman (92%):

```sh
sudo pacman -S lsd
```

  Evidence: Arch Linux sync databases: lsd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install lsd
```

  Evidence: openSUSE Tumbleweed package metadata: lsd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/lsd
```

  Evidence: Scoop official bucket manifest trees: bucket/lsd.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id lsd-rs.lsd -e
```

  Evidence: Windows Package Manager source index: lsd-rs.lsd from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:lsd
- **Package manager:** Homebrew
- **Version:** 1.2.0
- **Source summary:** Clone of ls with colorful output, file type icons, and more
- **Homepage:** <https://github.com/lsd-rs/lsd>
- **Repository:** <https://github.com/lsd-rs/lsd>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- lsd (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.2.0
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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`.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <https://api.github.com/repos/lsd-rs/lsd>
- <https://api.github.com/repos/lsd-rs/lsd/releases?per_page=100>
- <https://github.com/lsd-rs/lsd>
- <https://raw.githubusercontent.com/lsd-rs/lsd/master/README.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


## 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

- 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
## Other Package-Manager Records

- Debian apt - lsd - 1.1.5-5+b1: normalized package name match | Debian stable package indexes: lsd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ls command with a lot of pretty colors and some other stuff | https://github.com/lsd-rs/lsd
- Nix - lsd: normalized package name match | nixpkgs package indexes: pkgs/by-name/ls/lsd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - lsd - 1.0.0-2: normalized package name match | Ubuntu 24.04 LTS package indexes: lsd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ls command with a lot of pretty colors and some other stuff
- apk - lsd - 1.2.0-r1: normalized package name match | Alpine Linux edge package indexes: lsd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Next-Gen ls command | https://github.com/lsd-rs/lsd
- apk - lsd-bash-completion - 1.2.0-r1: normalized package name match | Alpine Linux edge package indexes: lsd-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for lsd | https://github.com/lsd-rs/lsd
- apk - lsd-fish-completion - 1.2.0-r1: normalized package name match | Alpine Linux edge package indexes: lsd-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for lsd | https://github.com/lsd-rs/lsd
- apk - lsd-zsh-completion - 1.2.0-r1: normalized package name match | Alpine Linux edge package indexes: lsd-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for lsd | https://github.com/lsd-rs/lsd
- dnf - lsd - 1.2.0-7.fc45: normalized package name match | Fedora Rawhide package metadata: lsd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Ls command with a lot of pretty colors and some other stuff | https://crates.io/crates/lsd
- pacman - lsd - 1.2.0-2: normalized package name match | Arch Linux sync databases: lsd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Modern ls with a lot of pretty colors and awesome icons | https://github.com/lsd-rs/lsd
- zypper - lsd - 1.2.0-1.5: normalized package name match | openSUSE Tumbleweed package metadata: lsd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Ls command with a lot of pretty colors and some other stuff | https://crates.io/crates/lsd
- MacPorts - lsd: normalized package name match | MacPorts ports tree: sysutils/lsd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/lsd: normalized package name match | Scoop official bucket manifest trees: bucket/lsd.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - lsd-rs.lsd: normalized package name match | Windows Package Manager source index: lsd-rs.lsd from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
