Last active
March 27, 2018 11:23
-
-
Save gschizas/01b909d752e1f716d408edfff257a693 to your computer and use it in GitHub Desktop.
Build and install tig from sources
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
#!/usr/bin/env sh | |
ver=$(curl https://api.github.com/repos/jonas/tig/releases/latest | jq --raw-output '.tag_name[4:]') | |
sudo apt install -y libncurses5-dev | |
wget -c https://github.com/jonas/tig/releases/download/tig-$ver/tig-$ver.tar.gz | |
tar -xzvf tig-$ver.tar.gz | |
cd tig-$ver/ | |
make prefix=/usr/local/ | |
sudo make install install-doc prefix=/usr/local/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment