# Installation guide Go (window 10)

**Requirement:** Windows 10

**Step 1:**

Open Powershell as run as administrator

```
# to switch from system folder
PS C:\Users\ADMIN> cd ~
```

Before installation, we must provide permission through Powershell (modes:&#x20;

1. restricted
2. allsigned
3. remotesigned
4. unrestricted&#x20;

Here we will be using remoteSigned that helps running scripts and conf files from the internet by trusted publishers. (please read online if you wish to explore)

```
# to ask powershell to provide execution policy
PS C:\Users\ADMIN> Set-ExecutionPolicy -Scope CurrentUser

# once executed type
PS C:\Users\ADMIN> RemoteSigned

# press enter followed by 'y' to confirm

# to check the set type
PS C:\Users\ADMIN> Get-ExecutionPolicy -List
```

![](https://lh4.googleusercontent.com/WFucJrWpRVzAZ2MJD9fozqGg-_St2DUs8U8xejGYTR0x0kbbMKrz3W0OUr-OOpCB052ai0ygRtbOLI7qHdpjEhh-_pOKufXtmPMGa10o6wLONO0qb32zYIDG_JtOvJFBhOYO2v_-)

**Step 2: installing package manager chocolatey**

( chocolatey is package manager just like pip and cmd line package manager for windows just like apt-get does on Linux, please read if you wish to explore)

```
# to create webClient object
PS C:\Users\ADMIN> $script = New-Object Net.WebClient

# to return all members
PS C:\Users\ADMIN> $script | Get-Member

# to download chocolatey
PS C:\Users\ADMIN> $script.DownloadString(“https://chocolatey.org/install.ps1
”)

# to isntall 
PS C:\Users\ADMIN> iwr https://chocolatey.org/install/ps1 -UseBasicParsing | iex
```

( iwr : invoke web request, iex : Invoke Expression )<br>

**Step 3: Installing text editor (Nano: optional)**

```
PS C:\Users\ADMIN> choco install -y nano
```

**Step 4:**&#x20;

Installing Go

```
# type below to isntall golang
PS C:\Users\ADMIN> choco install -y golang

# after installation is done, test it using
PS C:\Users\ADMIN> go version
```

**Step 6: Install VS code** [Download link](https://code.visualstudio.com/download)

Packages list to install: (continue reading)

1. Go
2. Docker
3. Kubernetes
