Skip to main content
Install

Install kubectl on Windows

Install kubectl on Windows. Use winget for the easiest path; Chocolatey and Scoop are popular alternatives.

winget

  1. 1. Install
    powershell
    winget install -e --id Kubernetes.kubectl
Verify install
powershell
kubectl version --client

Chocolatey

  1. 1. Install
    powershell
    choco install kubernetes-cli

Scoop

  1. 1. Install
    powershell
    scoop install kubectl

Direct binary

Download via curl in PowerShell or your browser.

  1. 1. Download (amd64)
    powershell
    curl.exe -LO "https://dl.k8s.io/release/v1.36.1/bin/windows/amd64/kubectl.exe"
  2. 2. Verify checksum
    powershell
    curl.exe -LO "https://dl.k8s.io/v1.36.1/bin/windows/amd64/kubectl.exe.sha256"
    $(Get-FileHash -Algorithm SHA256 kubectl.exe).Hash.ToLower() -eq $(Get-Content kubectl.exe.sha256)