docs: Add instructions for cli installation on Windows #4481 (#4482)

* docs: Add instructions for cli installation on Windows

* docs: Remove chocolatey until it is part of the release
This commit is contained in:
Liviu Costea
2020-10-05 08:53:33 +02:00
committed by GitHub
parent 506d14b2e7
commit ea74ec7600
+24
View File
@@ -53,3 +53,27 @@ chmod +x /usr/local/bin/argocd
```
After finishing either of the instructions above, you should now be able to run `argocd` commands.
## Windows
### Download With Powershell: Invoke-WebRequest
You can view the latest version of Argo CD at the link above or run the following command to grab the version:
```powershell
$version = (Invoke-RestMethod https://api.github.com/repos/argoproj/argo-cd/releases/latest).tag_name
```
Replace `$version` in the command below with the version of Argo CD you would like to download:
```powershell
$url = "https://github.com/argoproj/argo-cd/releases/download/" + $version + "/argocd-windows-amd64.exe"
$output = "argocd.exe"
Invoke-WebRequest -Uri $url -OutFile $output
```
Also please note you will probably need to move the file into your PATH.
After finishing the instructions above, you should now be able to run `argocd` commands.