Commands Cheat Sheet

Evaluating engineering tools? Get the comparison in Google Sheets

(Perfect for making buy/build decisions or internal reviews.)

Most-used commands
Your email is safe thing.

Thankyou for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.

Connection

argocd login
Log in to an Argo CD server

argocd login --username --password
Log in with username and password

argocd login --sso
Log in using SSO

argocd context
Display current context

argocd context
Switch to a different context

Applications

argocd app list
List all applications

argocd app get
Get application details

argocd app create
Create a new application

argocd app set
Modify an application

argocd app delete
Delete an application

argocd app sync
Sync an application

argocd app history
Show application deployment history

argocd app rollback
Rollback to a previous application state

argocd app wait
Wait for an application to reach a healthy state

Projects

argocd proj list
List projects

argocd proj create
Create a new project

argocd proj delete
Delete a project

argocd proj get
Get project details

Repositories

argocd repo list
List configured repositories

argocd repo add
Add a new repository

argocd repo rm
Remove a repository

Cluster Management

argocd cluster list
List configured clusters

argocd cluster add
Add a new cluster

argocd cluster rm
Remove a cluster

argocd cluster get
Get cluster details

Debugging

argocd app logs
View application logs

argocd app resources
List application resources

argocd app diff
Compare live and desired state

argocd app manifests
Print manifests of an application

Settings

argocd account update-password
Update the password of the currently logged in user

argocd cert add-ssh --batch
Add SSH known host entries

argocd admin settings
Various admin settings commands