Skip to content

Instantly share code, notes, and snippets.

@AnyTimeTraveler
Last active June 1, 2019 13:22
Show Gist options
  • Save AnyTimeTraveler/fa0e3de2996c9f0962769d8f338721dd to your computer and use it in GitHub Desktop.
Save AnyTimeTraveler/fa0e3de2996c9f0962769d8f338721dd to your computer and use it in GitHub Desktop.
cd /tmp/
# Till the date of publication of this script, the latest available download version is the 0.8.0
wget -c https://github.com/ogham/exa/releases/download/v0.8.0/exa-linux-x86_64-0.8.0.zip
unzip exa-linux-x86_64-0.8.0.zip
# Move the unziped binary with the name "exa-linux-x86_64" to "/usr/local/bin/" with the exa name
if [ $(id -u) -eq 0 ]; then
mv exa-linux-x86_64 /usr/local/bin/exa
else
sudo mv exa-linux-x86_64 /usr/local/bin/exa
fi
# Delete downloaded archive
rm exa-linux-x86_64-0.8.0.zip
# echo "Done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment