Skip to content

init

Scaffold a new infrastructure.ts file with a starter template.

Terminal window
kyku init [options]
Flag Default Description
-p, --provider <provider> aws Cloud provider (aws, gcp, hetzner, digitalocean)
-o, --output <path> ./infrastructure.ts Output file path
Terminal window
# Scaffold an AWS project
kyku init --provider=aws
# Scaffold a GCP project to a specific path
kyku init --provider=gcp --output=./gcp-config.ts
# Scaffold a Hetzner project
kyku init --provider=hetzner

The generated file includes a basic VPC + VM example with the chosen provider. Edit it to match your infrastructure needs, then run kyku plan.