"Go Language" "1" under the Windows operating system go environment configuration

Source: Internet
Author: User
Tags install go
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.