đź“ť Edit page
âž• Add page
Install Go
Install and manage version of Go
Install
Install Go with a package manager
Upgrade
If using a package manager - use your package manager’s upgrade command.
For a manual install - download to a file from the website as above. Or use the multip versions approach below.
Manage multiple versions
From Installing multiple Go versions section of install doc.
Use the get
command once Go is installed to fetch another version. This will be added to your Go packages directory and doesn’t affect your core Go.
$ go get golang.org/dl/go1.10.7
$ go1.10.7 download
Use it by using the version number in the command name.
- Extra Go.
$ go1.10.7 version go version go1.10.7 linux/amd64
- Core Go.
$ go version go1.15.2 darwin/amd64