09. Installing Go

For Windows and Mac

  1. 1.
    Download Go from https://golang.org/dl
  2. 2.
    Download Visual Studio Code from https://code.visualstudio.com/download

For Ubuntu

  1. 1.
    Install Go using Bash shell
1
sudo add-apt-repository ppa:longsleep/golang-backports
2
sudo apt-get update
3
sudo apt-get install golang-go
Copied!
2. Install VS Code from software center
3. Install Go extension from https://code.visualstudio.com/docs/languages/go

Checking installation

Open new terminal window and type in below command to verify Go is installed successfully.
1
go version
Copied!
This should output current installed go version.
Last modified 2yr ago