← Back to tools

lsd

The next gen ls command with colors, icons, and tree view

File Management Shell & Terminal linuxmacoswindows Rust Apache-2.0

Description

lsd (LSDeluxe) is a modern replacement for ls with color, icons, tree view, and a variety of formatting options. It provides a visually rich directory listing experience.

Install

homebrewbrew install lsd
cargocargo install lsd
pacmansudo pacman -S lsd

AI Summary

A modern ls replacement with file type icons, colors, and tree view. Provides a visually rich directory listing with Git integration and configurable layouts.

Capabilities

  • + File type icons (requires Nerd Font)
  • + Color-coded file types and permissions
  • + Built-in tree view
  • + Git status integration

Use When

  • Want a visually richer directory listing than ls
  • Need a built-in tree view with ls-like output
  • Prefer icons for quick file type identification

Avoid When

  • x Terminal doesn't support Nerd Fonts or icons
  • x Scripting where ls output parsing is needed

Usage Patterns

List directory with icons

lsd -la

Shows long listing with icons and colors

Tree view

lsd --tree --depth 2

Displays directory tree limited to 2 levels

Related Tools

View AGENTS.md for lsd