Update content/en/docs/tasks/tools/install-kubectl-windows.md

Co-authored-by: Mahé <mahe5397@hotmail.fr>
pull/36854/head
Anass Kartit 2022-10-12 14:53:58 +02:00 committed by GitHub
parent 782afe79e4
commit 50df8d57f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -29,9 +29,7 @@ The following methods exist for installing kubectl on Windows:
Or if you have `curl` installed, use this command:
```powershell
Invoke-WebRequest -Uri "https://dl.k8s.io/release/{{< param "fullversion" >}}/bin/windows/amd64/kubectl.exe" -OutFile "kubectl.exe"
```
curl.exe -LO "https://dl.k8s.io/release/{{< param "fullversion" >}}/bin/windows/amd64/kubectl.exe"
{{< note >}}
To find out the latest stable version (for example, for scripting), take a look at [https://dl.k8s.io/release/stable.txt](https://dl.k8s.io/release/stable.txt).