Back to results for “GitOps Principles”
ArgoCD › Applications

How do you view and manage Applications via the ArgoCD CLI?

Beginner

Answer

The argocd CLI manages apps: `argocd app list`, `argocd app get <name>`, `argocd app sync <name>`, `argocd app diff <name>`, `argocd app history`, and `argocd app rollback`. It's used for automation and troubleshooting alongside the web UI and the declarative Application CRs.
argocd app get guestbook
argocd app sync guestbook
argocd app diff guestbook
Real-world example An engineer runs `argocd app diff` in CI to preview changes before approving a production sync.

Common follow-ups: What does argocd app diff show? | How do you sync from the CLI?