Skip to content

Instantly share code, notes, and snippets.

@xmlking
Created March 29, 2025 17:54
Show Gist options
  • Save xmlking/f8e19f2d13a6512b512d2a2542cbb6c2 to your computer and use it in GitHub Desktop.
Save xmlking/f8e19f2d13a6512b512d2a2542cbb6c2 to your computer and use it in GitHub Desktop.
setup windows for golang development

windows

Prerequisites

  1. Windows 7 or later / Windows Server 2003 or later
  2. PowerShell v2 or later
  3. .NET Framework 4 or later

Installing Chocolatey CLI

Install Using Powershell

Verify Installation

C:\WINDOWS\system32>choco
 Chocolatey v0.10.15
 Please run 'choco -?' or 'choco  -?' for help menu.

Usage

Install Other Software to Install With Chocolatey

choco install git
choco install -y golang
# verify go instalaiton 
go version

Update Program

сhoco upgrade git
# or all Programs
choco upgrade all

See Installed Programs

choco list --local-only

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment