Skip to content

kubectl In Windows Machine

We can install kubectl in windows machine using winget or curl.

curl.exe -LO "https://dl.k8s.io/release/v1.32.0/bin/windows/amd64/kubectl.exe"

# OR

winget install -e --id Kubernetes.kubectl

Create a .kube directory in the %USERPROFILE% folder. This is where we will keep track of all the configs.