Learn how to download, install, and verify Go on a Windows system.
-
Download the Windows installation package from golang.org or The Go Programming Language.
-
Double-click the downloaded installation package and follow the instructions in the installation wizard.
-
When the installation finishes, press
Win+R, typecmd, and click OK to open Command Prompt. -
Run
go version. The output should resemble the following:C:\Users\xxx>go version go version go1.22.2 windows/amd64 C:\Users\xxx>