Bootstrap FreeKB - ArgoCD - Get ArgoCD version using the CLI
ArgoCD - Get ArgoCD version using the CLI

Updated:   |  ArgoCD articles

This assumes you have an ArgoCD server up and running. If not, check out my article FreeKB - OpenShift - Install Red Hat OpenShift GitOps Operator using the console (Argo CD).

This also assumes you have installed the ArgoCD CLI.

The argocd version command can be used to return the version of ArgoCD.

~]$ argocd version
argocd: v2.13.2+dc43124
  BuildDate: 2024-12-11T19:01:33Z
  GitCommit: dc43124058130db9a747d141d86d7c2f4aac7bf9
  GitTreeState: clean
  GoVersion: go1.22.9
  Compiler: gc
  Platform: linux/amd64
argocd-server: v2.13.1+af54ef8
  BuildDate: 2024-12-11T18:55:26Z
  GitCommit: af54ef8db5adfa77a08d4d05b1318a2198084c22
  GitTreeState: clean
  GoVersion: go1.22.9 (Red Hat 1.22.9-1.module+el8.10.0+22500+aee717ef)
  Compiler: gc
  Platform: linux/amd64
  ExtraBuildInfo: {Vendor Information: Red Hat OpenShift GitOps version: v1.15.0}
  Kustomize Version: v5.4.3 2024-12-11T18:57:42Z
  Helm Version: v3.15.4+gfa9efb0
  Kubectl Version: v0.31.0
  Jsonnet Version: v0.20.0

 

The --output json flag can be used to display output as JSON instead of YAML.

~]$ argocd version --output json

{
  "client": {
    "Version": "v2.13.2+dc43124",
    "BuildDate": "2024-12-11T19:01:33Z",
    "GitCommit": "dc43124058130db9a747d141d86d7c2f4aac7bf9",
    "GitTag": "",
    "GitTreeState": "clean",
    "GoVersion": "go1.22.9",
    "Compiler": "gc",
    "Platform": "linux/amd64",
    "KubectlVersion": "v0.31.0",
    "ExtraBuildInfo": ""
  },
  "server": {
    "Version": "v2.13.1+af54ef8",
    "BuildDate": "2024-12-11T18:55:26Z",
    "GitCommit": "af54ef8db5adfa77a08d4d05b1318a2198084c22",
    "GitTreeState": "clean",
    "GoVersion": "go1.22.9 (Red Hat 1.22.9-1.module+el8.10.0+22500+aee717ef)",
    "Compiler": "gc",
    "Platform": "linux/amd64",
    "KustomizeVersion": "v5.4.3 2024-12-11T18:57:42Z",
    "HelmVersion": "v3.15.4+gfa9efb0",
    "KubectlVersion": "v0.31.0",
    "JsonnetVersion": "v0.20.0",
    "ExtraBuildInfo": "{Vendor Information: Red Hat OpenShift GitOps version: v1.15.0}"
  }
}

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 5103bb in the box below so that we can be sure you are a human.