DEV Community

Cover image for Install and Config Golang on Windows10
Plume
Plume

Posted on • Edited on

1

Install and Config Golang on Windows10

Download Page: https://golang.org.dl

Image description

.msi is Windows's new install package file just double click it to install.

Environment Variable Config

Image description

Variable GO111MODULE's value should be set to "on" to enable module control tools(go mod tools).

Variable GOBIN's value should be set to "$go/bin" where the "$go" is the directory where you installed Golang.
So that the Windows system can find the go tools in "$go/bin" when you perform them in cmd.

Variable GOPATH's value should be a path, which will be used to save the modules installed from the remote repository.

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay