This is a creation in Article, where the information may have evolved or changed.
First, download the Go installation package
Listen to Google in the domestic wall, the direct official website download has become a dead-edge, but fortunately there are a group of caring people. Visit http://golang.so/dl/, select the latest version 1.4, and then select the appropriate installation package based on your operating system.
"Remarks":
Since I am using the Win8 64-bit operating system at home, I chose Go1.4.windows-amd64.msi
Second, install Go
1, double-click Go1.4.windows-amd64.msi, enter the installation interface
2. Select "Next", enter the end User License Confirmation screen, tick the agreement, click Next
3, set the installation path, here I set to E:\go, click Next
4. Select "Install" in the Confirm installation screen
5, wait a few minutes, choose Finsh
Third, set the GO environment variable
1. Right-click "My Computer", select "Properties", open the System window
2. Select "Advanced system Settings" on the right to open the System Properties window
3. Select "Environment variables" to open the environment Variables window
4, select "New", create the following three environment variables
Goroot=e:\go\
Gobin=%goroot%\bin
Goos=windows
5. After all settings are complete, such as
Iv. verifying that the setting is successful
Open a command-line window, enter go version, if output go version go1.4 windows/amd64 Similar information indicates the setting is successful
This article is from the "Green Guest" blog, please be sure to keep this source http://qingkechina.blog.51cto.com/5552198/1614134