github.com/argoproj/argo-cd@v1.8.7/docs/cli_installation.md (about) 1 # Installation 2 3 You can download the latest Argo CD version from [the latest release page of this repository](https://github.com/argoproj/argo-cd/releases/latest), which will include the `argocd` CLI. 4 5 ## Linux 6 7 You can view the latest version of Argo CD at the link above or run the following command to grab the version: 8 9 ```bash 10 VERSION=$(curl --silent "https://api.github.com/repos/argoproj/argo-cd/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/') 11 ``` 12 13 Replace `VERSION` in the command below with the version of Argo CD you would like to download: 14 15 ```bash 16 curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/download/$VERSION/argocd-linux-amd64 17 ``` 18 19 Make the `argocd` CLI executable: 20 21 ```bash 22 chmod +x /usr/local/bin/argocd 23 ``` 24 25 You should now be able to run `argocd` commands. 26 27 ## Mac 28 29 ### Homebrew 30 31 ```bash 32 brew install argocd 33 ``` 34 35 ### Download With Curl 36 37 You can view the latest version of Argo CD at the link above or run the following command to grab the version: 38 39 ```bash 40 VERSION=$(curl --silent "https://api.github.com/repos/argoproj/argo-cd/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/') 41 ``` 42 43 Replace `VERSION` in the command below with the version of Argo CD you would like to download: 44 45 ```bash 46 curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/download/$VERSION/argocd-darwin-amd64 47 ``` 48 49 Make the `argocd` CLI executable: 50 51 ```bash 52 chmod +x /usr/local/bin/argocd 53 ``` 54 55 After finishing either of the instructions above, you should now be able to run `argocd` commands. 56 57 58 ## Windows 59 60 ### Download With Powershell: Invoke-WebRequest 61 62 You can view the latest version of Argo CD at the link above or run the following command to grab the version: 63 64 ```powershell 65 $version = (Invoke-RestMethod https://api.github.com/repos/argoproj/argo-cd/releases/latest).tag_name 66 ``` 67 68 Replace `$version` in the command below with the version of Argo CD you would like to download: 69 70 ```powershell 71 $url = "https://github.com/argoproj/argo-cd/releases/download/" + $version + "/argocd-windows-amd64.exe" 72 $output = "argocd.exe" 73 74 Invoke-WebRequest -Uri $url -OutFile $output 75 ``` 76 Also please note you will probably need to move the file into your PATH. 77 78 79 After finishing the instructions above, you should now be able to run `argocd` commands.