Installing Go And Setting Up The Environment - Golang - Complete Documentation by ntxm.org

How to Install Go

Install Go on Windows, macOS or Linux from a prebuilt binary, from source, or side by side with other versions, and pick the method that fits you

The Go Workspace and Environment Variables

Understand the Go workspace concept across the GOPATH and module eras, the key environment variables that control Go tooling

Editors and IDEs for Go

How to configure your editor for Go development using language server integration with gopls and essential formatting and linting tools