Created
December 17, 2025 01:50
-
-
Save ayuxsec/b2322067f31f8f7371e0f8771982e7be to your computer and use it in GitHub Desktop.
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 "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