diff --git a/README.md b/README.md index 1d44d2b..66bb577 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,17 @@ sudo apt install git ``` Install latest version of Go ! +```bash +# sudo apt update +GOVERSION=$(curl https://go.dev/VERSION?m=text) +wget "https://dl.google.com/go/$GOVERSION.linux-amd64.tar.gz" +sudo tar -C /usr/local -xzf "$GOVERSION.linux-amd64.tar.gz" +cd +echo "export PATH=\$PATH:/usr/local/go/bin" >> .bashrc +source .bashrc +go version +``` + // TODO // 1. get tar.gz from original website // 2. extract tar.gz