> For the complete documentation index, see [llms.txt](https://book.codewithgo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.codewithgo.com/installing-go.md).

# 09. Installing Go

## For Windows and Mac

1. Download Go from [https://golang.org/dl](https://golang.org/dl/)
2. Download Visual Studio Code from <https://code.visualstudio.com/download>
3. Install Go extension from <https://code.visualstudio.com/docs/languages/go>

## For Ubuntu

1. Install Go using Bash shell

```bash
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.

```bash
go version
```

This should output current installed go version.
