Created
December 20, 2021 13:54
-
-
Save ThomasSchoenbeck/52591450eb5d320908a9e17e7affbdcd to your computer and use it in GitHub Desktop.
download tools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# direct download | |
curl -LO "https://dl.k8s.io/release/v1.23.0/bin/windows/amd64/kubectl.exe" | |
# linux command | |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/windows/amd64/kubectl.exe" -o c:\tools\kubectl.exe | |
# windows cmd command | |
FOR /F "tokens=* USEBACKQ" %g IN (`curl -L -s https://dl.k8s.io/release/stable.txt`) do (SET "k8s-ver=%g") && curl -L "https://dl.k8s.io/release/%k8s-ver%/bin/windows/amd64/kubectl.exe" -o c:\tools\kubectl.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment