Links

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
sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt-get update
sudo apt-get install golang-go
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.
go version
This should output current installed go version.