xxxxxxxxxx
1. Visit the official Golang website: https://golang.org/dl/
2. Download the latest stable release of Golang for Windows by clicking on the "Windows" link.
3. Open the downloaded installer file (.msi).
4. Follow the installation wizard instructions to complete the installation.
5. After the installation process finishes, open the Command Prompt (cmd) or PowerShell.
6. Verify the installation by running the following command:
go version
You should see the installed Go version printed in the console.
xxxxxxxxxx
after installed go success on windows, setup this config in your local machine
GOPATH = C:\Program Files\Go
GOROOT = C:\Users\<your computer name>\go
GOBIN = C:\Program Files\Go\bin
xxxxxxxxxx
$ rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.2.linux-amd64.tar.gz
xxxxxxxxxx
$ rm -rf /usr/local/go && tar -C /usr/local -xzf go1.19.3.linux-amd64.tar.gz