Last active
August 16, 2022 06:24
-
-
Save iamtalhaasghar/c2121d80366a693e438376d0de208d9c to your computer and use it in GitHub Desktop.
A simple shell script to install go and lazygit on a linux system.
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
wget -v https://go.dev/dl/go1.18.5.linux-amd64.tar.gz | |
rm -rvf /usr/local/go && tar -C /usr/local -xvzf go1.18.5.linux-amd64.tar.gz | |
cd /opt | |
git clone https://github.com/jesseduffield/lazygit.git | |
cd lazygit | |
/usr/local/go/bin/go install | |
echo "alias lg='$HOME/go/bin/lazygit'" >> ~/.bashrc | |
$HOME/go/bin/lazygit --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment