exa

Installing exa on Linux

If your Linux distribution has a package for exa, you can install it from the command-line. Otherwise, you can install exa manually.

You may need to prefix the commands with sudo to obtain the permissions necessary to install software on the machine.

Arch Linux

On Arch, install the exa package.

pacman -S exa

Debian

On Debian, install the exa package. It is in the Unstable repository.

apt install exa

Fedora

On Fedora, install the rust-exa package.

dnf install exa

Gentoo

On Gentoo, install the rust-exa package.

emerge sys-apps/exa

NixOS

On NixOS, install the exa package.

nix-env -i exa

OpenSUSE

On openSUSE, install the exa package.

zypper install exa

Ubuntu (20.10+)

On Ubuntu 20.10 (Groovy Gorilla) and later, install the exa package.

apt install exa

If you are on an earlier version of Ubuntu, you will have to use the manual installation method.

Manual installation

Without using a package manager, you will need to download all the files and put them in the right places yourself.

  • The exa binary

    You will need to download exa’s Linux binary (or if running on an ARMv7 machine such as a Raspberry Pi, exa’s armv7 Linux binary) and place it somewhere executable.

    /usr/local/bin is the recommended place to put it, but any of the directories listed in the $PATH environment variable will work.

  • The man page

    You will need to download exa’s man page and put it in the directory for application man pages, /usr/share/man/man1.

    If this directory does not exist, run manpath and use one of the directories it prints.

  • Shell completion files

    Linux offers completion for the bash, zsh, and fish shells.

    For bash, you will need to install bash-completion first. Then, download exa’s bash completions and put them in the bash-completion directory. This varies between OSes, but is likely to be /etc/bash_completion.d, so try that.

    For zsh, download the zsh completions, and put them in /usr/local/share/zsh/site-functions.

    For fish, download the fish completions, and put them in /usr/share/fish/vendor_completions.d.