azd app init

Scans your project to detect services, languages, frameworks, and infrastructure dependencies, then generates or enriches `azure.yaml` with all the settings needed for `azd app run`.

Usage

Terminal window
azd app init [flags]

Flags

FlagShortTypeDefaultDescription
--dry-run-boolfalseShow what would be generated without writing files
--force-boolfalseOverwrite existing services section in azure.yaml

Examples

Terminal window
azd app init [flags]
Terminal window
azd app init
Terminal window
azd app init --dry-run
Terminal window
azd app init --force

📚 Detailed Documentation

For complete documentation including flows, diagrams, and advanced usage, see the full command specification.

View full init specification →