Prerequisites
Clanker depends on external CLI tools to interact with cloud providers and container orchestration platforms. This page lists all required and optional dependencies.
Build Requirements
These are required to build Clanker from source:
| Tool | Required | Used For | Install |
|---|---|---|---|
| Go 1.21+ | Yes | Building the Clanker binary | golang.org/dl |
Runtime Dependencies
There is no single provider CLI required for every Clanker command. Install the tools for the providers and workflows you plan to use.
Use the onboarding scanner to detect your current machine:
clanker onboarding scan
clanker onboarding scan --provider aws,gcp,azure,kubernetes --format jsonProvider and workflow tools
| Tool | Required | Used For | Install |
|---|---|---|---|
| AWS CLI v2 | No | AWS operations. Clanker uses --no-cli-pager, which is not available in v1. | AWS CLI v2 install guide |
| Terraform | No | clanker ask --terraform and clanker terraform commands | terraform.io/downloads |
| gh (GitHub CLI) | No | GitHub Models AI provider (github-models), token resolution, and clanker github commands | cli.github.com |
| gcloud | No | GCP queries (clanker ask --gcp), gemini provider via Application Default Credentials | cloud.google.com/sdk/docs/install |
| az (Azure CLI) | No | Azure queries (clanker ask --azure) and Azure maker plans | learn.microsoft.com/cli/azure/install |
| wrangler | No | Cloudflare Workers, Pages, KV, D1, R2, Workflows, and developer-platform resources | developers.cloudflare.com/workers/wrangler |
| cloudflared | No | Cloudflare Tunnel operations | developers.cloudflare.com/cloudflare-one |
| doctl | No | DigitalOcean queries (clanker ask --digitalocean) and maker plans | docs.digitalocean.com/reference/doctl |
| hcloud | No | Hetzner Cloud queries (clanker ask --hetzner) and maker plans | github.com/hetznercloud/cli |
| kubectl | No | Kubernetes queries (clanker k8s ask) and plan execution | kubernetes.io/docs/tasks/tools |
| helm | No | Kubernetes Helm chart operations via K8s plans | helm.sh/docs/intro/install |
| eksctl | No | EKS cluster provisioning via K8s maker plans | eksctl.io/installation |
| railway | No | Railway deploys, logs, variables, and service operations | docs.railway.com/guides/cli |
| vercel | No | Vercel project and deployment operations | vercel.com/docs/cli |
| flyctl | No | Fly.io apps, machines, volumes, and deploy workflows | fly.io/docs/flyctl |
| docker | No | Container image operations in DigitalOcean registry push workflows | docs.docker.com/get-docker |
Verifying Your Setup
After installing the tools for your providers, verify that they are available on your PATH:
# Check whichever you plan to use.
aws --version # Must be v2.x for AWS
terraform --version
gh --version
gcloud --version
az --version
wrangler --version
cloudflared --version
doctl version
hcloud version
kubectl version --client
helm version
eksctl version
railway --version
vercel --version
flyctl version
docker --versionAWS CLI Configuration
Clanker uses AWS CLI profiles for authentication rather than raw access keys in its own config. To set up a profile:
# Configure a named profile
aws configure --profile my-dev-profile
# For SSO-based authentication
aws configure sso --profile my-dev-profile
# Verify the profile works
aws sts get-caller-identity --profile my-dev-profileThen reference the profile in ~/.clanker.yaml:
infra:
default_environment: dev
aws:
environments:
dev:
profile: my-dev-profile
region: us-east-1GCP Authentication
If using GCP queries or the gemini AI provider (Vertex AI), authenticate with Application Default Credentials:
gcloud auth login
gcloud auth application-default login
gcloud config set project your-project-idAzure Authentication
If using Azure queries, sign in with the Azure CLI:
az login
az account set --subscription your-subscription-idGitHub CLI Authentication
If using the github-models AI provider or GitHub repository queries:
gh auth login