lsd is a replacement for ls that draws an icon and a colour for each
file type and keeps the rest of ls where you expect it: -l, -a,
-S, -t and the others all work. It is one Rust binary, and a Nerd
Font in the terminal is all it needs for the icons.
Beyond the icons it adds what ls never had: a tree view with a depth
limit, a git column that shows each file's state next to its name,
folder sizes that add up everything inside, relative dates, and a config
file for the columns, the sort order and the colours. Several config
files hold several views, so one alias can list a folder the way a code
review needs it and another the way a backup check does.
The demo opens in lsd's own source, with its history and three
uncommitted changes. Run lsd for the folder, lsd --tree --depth 2 src for the tree, lsd -l --git to see which files are staged, edited
or untracked, and lsd -l --total-size -S to put the biggest folders
first. The VM is private to your browser tab; nothing you type leaves it.
Commands to try
lsd | the folder, with an icon and a colour per file type |
lsd --tree --depth 2 src | the source tree two levels deep |
lsd -l --git | a column with each file's git state |
lsd -l --total-size -S | folders ranked by everything inside them |
lsd -l --config-file ~/.config/lsd/review.yaml | a saved view with its own columns and order |
Install lsd on your own machine
| Alpine | apk add lsd |
| Debian / Ubuntu | apt install lsd |
| macOS (Homebrew) | brew install lsd |
| cargo | cargo install lsd |
This VM was last built on Oct 17, 2026. How Demoshell demos work →
Similar tools you can try here
- Midnight Commander — The classic two-panel terminal file manager, running live in a private Linux VM. Nothing to install.
- Midday Commander — A dual-panel terminal file manager in Go with a fuzzy finder, bookmarks and archive browsing, live in a private VM.
- Yazi — The fast terminal file manager in Rust with vim keys and live file previews, running in a private Linux VM. Nothing to install.
- nnn — The tiny, fast terminal file manager that filters as you type, with four contexts and plugins, running live in a private Linux VM.
- eza — The modern ls replacement with meaningful colours, a git status column and a built-in tree view, running live in a private Linux VM.
- dust — The du replacement that shows where disk space goes as a tree with bars, run over a sample workspace in a private Linux VM.
- FileBrowser Quantum — A self-hosted web file manager with indexed search, sharing and an editor, live in a private Linux VM.