Skip to main content
Clanker provides a comprehensive set of commands for querying and managing your cloud infrastructure using natural language and traditional CLI patterns.

Command structure

All Clanker commands follow this structure:
clanker [command] [subcommand] [flags]

Core commands

ask

Ask natural language questions about your cloud infrastructure

k8s

Manage Kubernetes clusters and query workloads

config

Manage Clanker configuration and credentials

credentials

Store and manage cloud credentials in the backend

cost

View and analyze cloud infrastructure costs

deploy

Analyze and deploy GitHub repositories to the cloud

github

Query GitHub repository information directly

terraform

Manage Terraform workspace operations

postgres

Manage PostgreSQL database operations

AWS commands

aws maker

Generate infrastructure change plans for AWS

aws apply

Execute approved infrastructure plans on AWS

Global flags

These flags are available for all commands:
--config
string
Path to config file (default: $HOME/.clanker.yaml)
--debug
boolean
default:"false"
Enable debug output with progress and internal diagnostics
--local-mode
boolean
default:"true"
Enable local mode with rate limiting to prevent system overload
--local-delay
integer
default:"100"
Delay in milliseconds between calls in local mode
--api-key
string
Backend API key (or set CLANKER_BACKEND_API_KEY)
--backend-env
string
Backend environment: testing, staging, or production
--backend-url
string
Backend API URL (overrides --backend-env)

Getting help

Get help for any command:
clanker --help
clanker ask --help
clanker k8s create eks --help

Next steps

Ask command

Learn how to query infrastructure with natural language

Configuration

Set up your AI providers and cloud credentials

Build docs developers (and LLMs) love