Question: I have 1.7 version of golang and I want to update golang to 1.8 from command prompt. Uninstalling and Installing it again is always an option, but can I update it using commands on Windows 8.1?

Answer: 
Go can also be updated using the [Chocolatey](https://chocolatey.org/packages/golang) package manager. Run from an elevated shell to minimize the risk of installation issues.

Install using:

```
choco install golang -y

```

Update using:

```
choco upgrade golang -y

```
A simple way is to use the update-golang script:

```
git clone https://github.com/udhos/update-golang
cd update-golang
sudo ./update-golang.sh

```