exa - An Alternative to ls
last updated 2021-09-03
I just discovered the commandline tool exa. It serves as a modern replacement for
tree. Additionally it shows little icons of the filetype in its output.
To use it it you can simply download the binary from the release page and add it to your
To make it work with my setup I had to add these aliases:
alias ls="exa --icons --group-directories-first" alias la="ll -a" alias tree="exa --tree"
The standard font on my Debian/Ubuntu system does not show all icons. Therefore another font is needed. A font from Nerd Fonts can be used. To download them is described in this gist:
- Download a Nerd Font
- Unzip and copy to
- Run the command
fc-cache -fvto manually rebuild the font cache
Finally in my terminal the output
la looks like this: