- download link
- 386 stands for 32-bit operating system installation package
- amd64 stands for 64-bit operating system installation package
- Download the
go1.15.5.windows-amd64.zip
installation package, unzip and configure the system environment variables
GOROOT:C:\Software\Go
: The storage path of the above installation package
GOPATH:C:\Software\GoPath
: The storage directory of the development project
- Will be
%GOROOT%\bin
added to the Path system variable
- Will be
%GOPATH%\bin
added to the Path system variable (plus this third-party go tool can be used)
- Check whether the configuration is successful in the dos terminal
go env # 查看得到go的配置信息
go version # 查看go的版本号