DEV Community

Diego
Diego

Posted on

Installation guide of EXA: A modern replacement for ls

You're gonna love it!

Image description

I've recently discovered this replacment for ls for Mac and Linux, and I love it!

You can find full instructions in their website:

https://the.exa.website/

And I'm going to sumarize the steps:

Ubuntu

apt install exa
Enter fullscreen mode Exit fullscreen mode

MacOS

brew install exa
Enter fullscreen mode Exit fullscreen mode

Configuration

You can edit your .bashrc or .zshrc file in your home path, and you can write this code down at the end of the file:

if [ -x "$(command -v exa)" ]; then
    alias ll="exa --long --all --group --icons --time-style=long-iso"
fi  
Enter fullscreen mode Exit fullscreen mode

Tree View

Image description

You can get a beautifull Tree view using this command:

exa --tree --level=2
Enter fullscreen mode Exit fullscreen mode

To Sum up

You can easily change your 'default' ls program with this new one and enjoy everyday!

Top comments (0)