exa

Installing exa on Linux

Using a package manager

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

  • On Arch, install the exa package with sudo pacman -S exa.
  • On Fedora, install the rust-exa package with sudo dnf install exa.
  • On Gentoo, install the rust-exa package with emerge sys-apps/exa.
  • On NixOS, install the exa package with nix-env -i exa.
  • On openSUSE, install the exa package with sudo zypper install exa.

Support for more package managers (including .debs and Snaps) is coming soon!

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 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.