Argo CD CLI Installation and Commands

3 min readJul 23, 2022

So far, we have seen Argo CD with UI mostly and now let’s see another feature provided by Argo CD, which CLI to manage the Argo CD. CLI provides almost same feature as GUI, you can perform most of the operation done via UI using CLI. Let’s see more of the useful commands in this post.

Before starting, lets see how to install Argo CD CLI in different operating systems. You can download the latest Argo CD version from the latest release page of this repository, which will include the Argo CD CLI.



# pacman -S argocd


# brew install argocd

Download With CurlDownload latest version

# curl -sSL -o /usr/local/bin/argocd
# chmod +x /usr/local/bin/argocd

Download selected version

Set VERSION replacing <TAG> in the command below with the version of Argo CD you would like to download:


Select desired TAG from

# curl -sSL -o /usr/local/bin/argocd$VERSION/argocd-linux-amd64
# chmod +x /usr/local/bin/argocd


# brew install argocdVERSION=$(curl --silent "" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/')

Replace VERSION in the command below with the version of Argo CD you would like to download:


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:

$version = (Invoke-RestMethod

Replace $version in the command below with the version of Argo CD you would like to download:

$url = "" + $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.


Argo CD Commands:

For now, we have completed the installation and hope you have the argoCD up and running already. Now let’s check the available commands in Argo CD. As there are multiple commands, let’s see with serios of posts. Here is first set of commands,

Video Demo


To check the argo cd version detail please use following commands.

# argocd version [flags]

Print the full version of client and server to stdout

# argocd version
argocd: v2.3.4+ac8b7df
BuildDate: 2022-05-18T13:06:25Z
GitCommit: ac8b7df9467ffcc0920b826c62c4b603a7bfed24
GitTreeState: clean
GoVersion: go1.17.9
Compiler: gc
Platform: linux/amd64
argocd-server: v2.4.6+a48bca0
BuildDate: 2022-07-12T22:31:17Z
GitCommit: a48bca03c79b6d63be0c34d6094831bc6916b3bc
GitTreeState: clean
GoVersion: go1.18.3
Compiler: gc
Platform: linux/amd64
Kustomize Version: v4.4.1 2021-11-11T23:36:27Z
Helm Version: v3.8.1+g5cb9af4
Kubectl Version: v0.23.1
Jsonnet Version: v0.18.0

Note: To get the server version details, you should login to the argocd instance. otherwise the command will be hung endless. Please refer login section to login instance.

Print only full version of the client — no connection to server will be made

Continue Reading on Argo CD CLI Installation and Commands — FoxuTech

You can follow us on social media, to get some short knowledges regularly.




Discuss about #Linux, #DevOps, #Docker, #kubernetes, #HowTo’s, #cloud & IT technologies like #argocd #crossplane #azure