From the course: Learning Go

Install Go on Windows - Go Tutorial

From the course: Learning Go

Install Go on Windows

- [Instructor] To install the Go development tools on Windows, go to this webpage at golang.org/dl. You'll see links for all of the supported operating systems, plus one for the source code if you want to compile and build Go yourself. For Windows, I recommend using the MSI file. It's a binary installer, and when you click it, it'll download to your computer, and you'll see this screen that has some basic instructions for the installation. Now I've already downloaded the installer to my desktop, so I'll double click it to start up. I'll walk through the first couple of screens, and then I'll indicate where I want to install the Go development tools. The default is in the Go directory under the C drive route. I'll go to the next screen, click Install, and then if I see a security prompt, I'll accept it. It'll take just a moment to copy all the files over. Now, the reason that security prompt was needed was because the rephrase-- Now that security prompt was needed because the installer is going to set up my Go directory on my system path. So I can run the Go command without having to switch to a particular directory. When you see this screen, the installation is complete. I'll click Finish. And then, to make sure everything is working correctly, I'll go to the Start menu and start typing CMD for command prompt. In the command prompt, I'll type Go space version. If you see the output indicating the version of Go that's installed, everything has been set up correctly. If you want to see how that's being done, type path and press Enter, and you'll see a listing of directories. The Go directory has a bin sub-directory and that's where all the executable commands are stored. If you see this output, then everything is working and you're ready to develop with Go on Windows.

Contents