Thursday, January 2, 2020

GO installation on windows

Image result for go installation images 

Setting up GO programming environment on windows is very simple. In few minutes you can install GO on windows. 

Its always a good idea to check if it might be already installed on your system. You can quickly check it by typing following command in windows command prompt. 

c:\> go version

If Go is already installed, then it will display Go language version related information, otherwise, if GO is not installed then it will display appropriate error message.


To start the installation, we first need to download it from the website. All the versions of GO for windows and other platforms are available on  golang.org web site.

 


 You can also find stable version on the same site. 

Step I : Download the appropriate version of the GO. In out case we will download the Windows 
            Installer package.
Step II: Double click on the Installer and follow the instructions. 

    

Step III: After installation, the next step is to set the environment variable. Right click on My PC
             and select Advanced system settings, after that click on Environment Variable. After that 
             select PATH and click on Edit. Add new path for GO/bin directory. In out case it is 
             C:\Go\Bin

 



 Step IV: After that Click on OK. Open windows command prompt and type following command.

c:\> go version
 
This command should display following message.

 

 After successful installation, you can install any IDE or text editor to write GO code. 


Thanks.....


In the next blog we will see IDE for GO programming.....

No comments :

Post a Comment