$linuxjunkies
>

argocd(1)

ArgoCd is a declarative, GitOps continuous delivery tool for Kubernetes that automates application deployment from Git repositories.

UbuntuDebianFedoraArch

Synopsis

argocd [COMMAND] [OPTIONS]

Description

ArgoCD is a declarative continuous delivery tool that uses Git repositories as the single source of truth for application state. It monitors your Git repositories and automatically applies changes to your Kubernetes clusters, enabling GitOps workflows at scale.

The argocd CLI tool provides full management of ArgoCD server instances, including authentication, application deployment, cluster configuration, and monitoring. Use it to create applications, manage projects, inspect application status, and synchronize desired state with live clusters.

Common options

FlagWhat it does
--serverArgoCD server address (e.g., localhost:8080 or argocd.example.com)
--auth-tokenAuthentication token for API access; overrides stored credentials
--usernameUsername for authentication; commonly 'admin' for initial setup
--passwordPassword for authentication; use interactively or with environment variables
--insecureSkip TLS certificate verification (development only)
--grpc-webUse gRPC web transport instead of native gRPC
--coreConnect to core ArgoCD server in-cluster without external network
--help, -hShow help message and exit

Examples

Authenticate to an ArgoCD server and save credentials locally

argocd login argocd.example.com --username admin --password mypassword

Create a new ArgoCD application pointing to a Git repository and target Kubernetes cluster

argocd app create myapp --repo https://github.com/user/repo --path ./helm --dest-server https://kubernetes.default.svc --dest-namespace default

Display all applications managed by the connected ArgoCD server

argocd app list

Synchronize an application's live state with the desired state in Git

argocd app sync myapp

Show detailed information about a specific application including sync status

argocd app get myapp

Register a Kubernetes cluster with ArgoCD for deployment targets

argocd cluster add my-cluster

List all projects for organizing applications with RBAC policies

argocd proj list

Remove an application and optionally delete associated resources from the cluster

argocd app delete myapp --cascade

Related commands