Skip to content

Instantly share code, notes, and snippets.

@ayuxsec
Created December 17, 2025 01:50
Show Gist options
  • Select an option

  • Save ayuxsec/b2322067f31f8f7371e0f8771982e7be to your computer and use it in GitHub Desktop.

Select an option

Save ayuxsec/b2322067f31f8f7371e0f8771982e7be to your computer and use it in GitHub Desktop.
wget "https://go.dev/dl/go1.25.5.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf go1.25.5.linux-amd64.tar.gz
echo """export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin""" >> ~/.bashrc
source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment