How to Install eza on macOS 27

Updated

Learn how to install eza on macOS using Homebrew and verify it in your Terminal.

eza: How to Install eza on Mac

Before we start, make sure you have Homebrew installed on your Mac. If you don't have it yet, grab the one-line setup command from brew.sh first.

Install eza with Homebrew

Open your Terminal and run this command to install eza:

brew install eza

Homebrew downloads the prebuilt bottle along with its libgit2 dependency and shell completions. It only takes a few seconds, and you'll see a summary line with the Cellar path when it finishes.

Verify the Installation

To confirm eza is ready to use, check its version:

eza --version

The --version flag prints the installed version number and shows [+git] next to it, which confirms your build supports Git status flags out of the box. You can also run eza inside any folder to see a color-coded listing right away.

undefined

If you want eza to replace ls automatically every time you open Terminal, you can add alias ls="eza" to your ~/.zshrc file and reload your shell.