ArgoCD continuously reconciles a Kubernetes cluster's live state against manifests declared in Git — "sync" means making the cluster match Git, not the other way around.
Login
argocd login argocd.example.comAuthenticates the CLI against an ArgoCD server, prompting for credentials.
argocd login argocd.example.com --ssoAuthenticates via the configured SSO provider instead of a local username/password.
Applications
argocd app listLists every application ArgoCD manages, with its sync and health status.
argocd app get my-appShows an application's full detail — source repo, destination, sync status, and resource tree.
argocd app create my-app --repo https://github.com/org/repo.git --path k8s --dest-server https://kubernetes.default.svc --dest-namespace defaultRegisters a new application, pointing ArgoCD at a Git path to track.
Sync
argocd app sync my-appApplies the difference between Git and the live cluster, bringing the cluster in line with what's declared in Git.
argocd app sync my-app --pruneSyncs and also deletes any live resource that's no longer declared in Git.
argocd app sync my-app --dry-runShows what a sync would do without actually applying anything.
argocd app diff my-appShows exactly what differs between the live cluster state and the manifests in Git, before you sync.
History & Rollback
argocd app history my-appLists previous sync revisions for an application.
argocd app rollback my-app 5Rolls an application back to a specific historical revision number.
Inspecting Resources
argocd app resources my-appLists the individual Kubernetes resources an application manages.
argocd app logs my-appStreams logs from the pods belonging to an application, without needing kubectl context switching.
argocd app manifests my-appPrints the fully rendered manifests ArgoCD generated from the source (after Helm/Kustomize templating, if applicable).
Projects
argocd proj listLists ArgoCD projects — the mechanism for restricting which repos, clusters and namespaces a group of applications can use.
Sync policies
An application can be set to automated sync (ArgoCD applies Git changes on its own, optionally with prune and
selfHeal) or manual (a human runs argocd app sync). Automated with selfHeal also reverts manual
kubectl edit drift back to what Git declares — genuinely enforcing Git as the source of truth, not just a
starting point.