First, download the Go installation package
Because 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
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/59/B3/wKiom1TcP8myiv9BAAFRti26F_E097.jpg "title=" Double-click Install. png "alt=" wkiom1tcp8myiv9baafrti26f_e097.jpg "/>
2. Select "Next", enter the end User License Confirmation screen, tick the agreement, click Next
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/59/B3/wKiom1TcQHaCQBKPAAKJTTlOa5s373.jpg "title=" End user Confirmation license.png "alt=" Wkiom1tcqhacqbkpaakjttloa5s373.jpg "/>
3, set the installation path, here I set to E:\go, click Next
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/59/B3/wKiom1TcQPrA8MJuAAEgnmcnRi8264.jpg "title=" Set the installation path. png "alt=" wkiom1tcqpra8mjuaaegnmcnri8264.jpg "/>
4. Select "Install" in the Confirm installation screen
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/59/B3/wKiom1TcQU-jPF8GAAEaKIqbTvs542.jpg "title=" Confirm installation. png "alt=" wkiom1tcqu-jpf8gaaeakiqbtvs542.jpg "/>
5, wait a few minutes, choose Finsh
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/59/B3/wKioL1Tcd83AFYiDAAEbuYyJtNk659.jpg "title=" Installation complete. png "alt=" wkiol1tcd83afyidaaebuyyjtnk659.jpg "/>
Third, set the GO environment variable
1. Right-click "My Computer", select "Properties", open the System window
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/59/B4/wKioL1TcitXyeR7_AAJNKg2i2-o696.jpg "title=" System window. png "alt=" wkiol1tcitxyer7_aajnkg2i2-o696.jpg "/>
2. Select "Advanced system Settings" on the right to open the System Properties window
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/59/B7/wKiom1TcilPB3bmBAAF6HpOdF6w999.jpg "title=" System properties. png "alt=" wkiom1tcilpb3bmbaaf6hpodf6w999.jpg "/>
3. Select "Environment variables" to open the environment Variables window
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/59/B4/wKioL1Tci8XD3zFlAAGk6_3UsBk377.jpg "title=" Environment variables. png "alt=" wkiol1tci8xd3zflaagk6_3usbk377.jpg "/>
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
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/59/B4/wKioL1TcjguyUF7pAAGU67wrBgM557.jpg "title=" The effect after setting the environment variable. png "alt=" wkiol1tcjguyuf7paagu67wrbgm557.jpg "/>
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
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/59/B7/wKiom1TcjaLDnJSxAAH0MTg_Svc092.jpg "title=" Verify that the setting is successful. png "alt=" wkiom1tcjaldnjsxaah0mtg_svc092.jpg "/>
This article is from the "Green Guest" blog, please be sure to keep this source http://qingkechina.blog.51cto.com/5552198/1614134
"Go Language" "1" under the Windows operating system go environment configuration