Friday, October 23, 2015

How to install Golang on Windows10

Recently I have started learning Golang and I am having so much fun with it. I am using Golang on my windows 10 laptop. I thought it will be good idea to write a blog post about how to install Golang on windows. In this blog post we will see how to install Golang on windows 10 and how to configure it.

Steps for installing Golang on windows :


Installing Golang is very easy on windows first thing you need to download setup from the Golang official site. Following is location where you can find all the download golang binary release.

https://golang.org/dl/

golang-binaries-download

Once you download and run setup file. It will start a wizard like below.

golang-installation

Once you click next it will ask for default golang location. By default it will be C:\GO. Complete wizard for installing Golang on windows.

Once you complete installing it, make sure it has added go binary path in our environment variables. To check that Goto-> Control Panel -> System. It will open a screen like below.

golang-windows-installation-system-screen

Click on Advance System settings.

advance-system-settings-golang

Now click on environment variables. It will load all the environment variables. Make sure that in system path you have golang path there.

golang-variable

There is one more variable called GoRoot. It should also be there.

go-root-variable

That's it. You are done with installing Golang environment on windows. In next blog post I'm going to explain how to setup Golang workspace in your computer.
Share:

6 comments:

  1. Nice blog! Keep going
    Create new articles about Python ;)

    ReplyDelete
  2. Simple & Nice blog to set up Go workspace in windows

    ReplyDelete
  3. This version of C:\Go\bin\go.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.

    ReplyDelete
    Replies
    1. I am using windows 10 with same version for about 1.5 years without any problem.

      Delete

Search This Blog
About Me
My Photo

Full Stack Developer,Blogger,Microsoft Mvp, Mentor, Life long learner, 12+ Years of Experience for JavaScript, web and Microsoft technologies. ASP.NET MVC,Web Forms,C#,AngularJs,Golang
Mvp profile
Subscribe to my blog

Enter your email address:

Follow us on facebook
Total Pageviews