Last active
September 9, 2018 12:31
-
-
Save rostockahoi/927210388148e7dd4fa1041c22dbd069 to your computer and use it in GitHub Desktop.
One-line Micro-Editor installer
This file contains 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
# Run as root | |
# Micro: https://github.com/zyedidia/micro | |
curl -s https://api.github.com/repos/zyedidia/micro/releases/latest \ | |
| grep "browser_download_url.*linux64.tar.gz" \ | |
| cut -d : -f 2,3 \ | |
| tr -d \" \ | |
| wget --quiet --show-progress -O /tmp/tmp-micro.tar.gz -i - && \ | |
tar -xzf /tmp/tmp-micro.tar.gz --directory /tmp && \ | |
cp /tmp/micro*/micro /usr/local/bin && \ | |
rm -r /tmp/micro* && rm /tmp/tmp-micro.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment