How did I install `kubectl` to Windows 10?

Step 1

cd C:\tools\kubernetes
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/windows/amd64/kubectl.exe"

Step 2

I added C:\tools\kubernetes to PATH.

archive.is/STu0f#selection-10365.0-10373.21

Step 3

kubectl version --client

2024-10-18--19-31-54

archive.is/STu0f#selection-10397.0-10397.24