# go: Setup

## Requirements:

1. os: linux mint
    
2. go version: 1.22.5 or above
    
3. vs code (with go extension)
    

---

## Steps:

1. Download go package from go's website.
    
2. Unpack it in a place of your choice.
    
3. Add go binary path to PATH environment variable:
    
    * Add this line to .bashrc file:
        

```bash
export PATH=$PATH:path-to-go-binary
```

4. Test it:
    
    * Open terminal and run:
        

```bash
go version
```

Output (would be something like this):

```bash
go version go1.22.5 linux/amd64
```

---

5. Open vs code and install go's official extension from extensions.
    
6. It will ask for downloading some tools(like gopls) for go development,
    
    click on install.
    
7. Now you are good to go!
