Last active
June 1, 2019 13:22
-
-
Save AnyTimeTraveler/fa0e3de2996c9f0962769d8f338721dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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