# eza

> Modern replacement for ls with colors, Git integration, tree view, and extended file metadata display.

Stars: 23.7k · Language: Rust · License: MIT · Categories: File Management

- Repository: https://github.com/eza-community/eza
- Website: https://eza.rocks
- Page: https://www.trmn.sh/tools/eza
- Demo video: https://media.trmn.sh/demos/e910edb36110b593ffbbabec97c822f6dbccdbda603b42cbb2bd8f7cec57a19b.mp4

## Install

- Nix: `nix run github:eza-community/eza`

## Overview

eza is a command-line file listing tool that serves as a replacement for the traditional `ls` command found on Unix and Linux systems. Written in Rust, it displays directory contents with color-coded file types, symlink awareness, and extended attribute information. The tool outputs file metadata in human-readable formats and provides multiple display modes including grid, tree, and detailed long views.

The tool integrates directly with Git repositories, showing file status indicators and repository information alongside standard file details. It supports extended attributes, SELinux contexts, mount point details, and hyperlinks in compatible terminals. eza offers extensive filtering and sorting options, including glob patterns for file exclusion, directory-first grouping, and sorting by various fields like size, date, or file extension.

eza includes several display enhancements over traditional file listers, such as relative date formatting, binary size prefixes, and configurable color themes through YAML files. It provides recursive directory traversal with depth limiting and supports custom timestamp formats. The tool is distributed as a single binary and maintains compatibility with most existing `ls` workflows while adding features like icon display and terminal hyperlink support.

### Installation

```bash
# via Nix
nix run github:eza-community/eza
```

![eza demo showing colored file listings](https://media.trmn.sh/cached/346dffdd0f622d068ee6e5b42c702b3d3fe938ebeed7d623345ecabc2d8a09f0.png)

## Alternatives

- [lsd](https://www.trmn.sh/tools/lsd.md): Enhanced ls replacement with colors, icons, tree view, and additional formatting options written in Rust (Rust, 16.3k stars)
- [broot](https://www.trmn.sh/tools/broot.md): Interactive file manager and directory navigator with fuzzy search, git integration, and file operations (Rust, 13.1k stars)
- [dust](https://www.trmn.sh/tools/dust.md): A disk usage analyzer that shows directory sizes with visual bars and intelligent tree traversal (Rust, 12.6k stars)
- [Dufs](https://www.trmn.sh/tools/dufs.md): File server with static serving, uploads, search, zip folder download, account-based access control, HTTPS, and WebDAV, usable from a browser or curl. (Rust, 11.0k stars)
- [xplr](https://www.trmn.sh/tools/xplr.md): Terminal-based file explorer with Lua scripting, keyboard controls, and plugin system for command-line integration (Rust, 4.8k stars)

## Guides

- [Swap ls, cat, find and grep for eza, bat, fd and ripgrep](https://www.trmn.sh/guides/modern-unix-replacements): Install eza, bat, fd and ripgrep, learn the side-by-side commands and flag differences, and alias them without breaking your scripts.
- [Modern Replacements for ls](https://www.trmn.sh/replace/ls): Replace ls with eza, lsd, or exa for colors, Git status, tree view and richer long listings. Also covers broot, an interactive tree navigator.
- [Modern Replacements for tree](https://www.trmn.sh/replace/tree): Tools you can run instead of tree: eza, erdtree, lsd and broot compared by tree output, gitignore handling, flags and config.

---

Canonical: https://www.trmn.sh/tools/eza
