All apps/Azure Developer CLI

Azure Developer CLI

azure-dev
Runs as azd|macOS, Linux, Windows|aka.ms

Command form

ai-draft · 8 tasks · 37 fields

Initialize, provision, deploy and tear down an azd project. Environment management, pipeline, template and auth commands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui azure-dev

azd up

Provision and deploy
Provision and deployExample values, fixed in this page — nothing here reaches a terminal
Basic
Environment
string
Azure location
string
Subscription ID
string
Advanced
Run without prompts
--no-prompt
TasksEach one presets the form for one job
Provision and deploy
environmentlocationsubscriptionno_prompt
ParametersOnly these flags are editable in the form
Environment
Name of the environment to use.
string
--environment-e
Azure location
string
--location-l
Subscription ID
string
--subscription
Working directory
path
--cwd-C
Run without prompts
boolean
--no-prompt

azd init

Initialize a project
Initialize a projectExample values, fixed in this page — nothing here reaches a terminal
Basic
Template*
string
Environment
string
Provision and deploy afterwards
--up
Advanced
Template branch
string
TasksEach one presets the form for one job
From a template
templatebranchenvironmentup
From existing code
from_codeenvironment
ParametersOnly these flags are editable in the form
Template
Full URI, owner/repository, or a local directory path.
string
--template-t
Template branch
Use together with a template.
string
--branch-b
Initialize from existing code
boolean
--from-code
Minimal project
boolean
--minimal-m
Environment
Name of the environment to use.
string
--environment-e
Azure location
string
--location-l
Subscription ID
string
--subscription-s
Provision and deploy afterwards
Only after initializing from a template.
boolean
--up
Working directory
path
--cwd-C
Run without prompts
boolean
--no-prompt

azd provision

Provision Azure resources
Provision Azure resourcesExample values, fixed in this page — nothing here reaches a terminal
Basic
Environment
string
Azure location
string
Subscription ID
string
TasksEach one presets the form for one job
Provision
environmentlocationsubscription
Preview changes
environmentpreview
ParametersOnly these flags are editable in the form
Layer
Optional provisioning layer.
string · positional 0
Preview changes only
boolean
--preview
Environment
Name of the environment to use.
string
--environment-e
Azure location
string
--location-l
Subscription ID
string
--subscription
Ignore stored deployment state
Bicep only.
boolean
--no-state
Working directory
path
--cwd-C
Run without prompts
boolean
--no-prompt

azd deploy

Deploy services
Deploy servicesExample values, fixed in this page — nothing here reaches a terminal
Basic
Service*
string
Environment
string
TasksEach one presets the form for one job
Deploy one service
serviceenvironment
Deploy all services
allenvironment
ParametersOnly these flags are editable in the form
Service
Name of the service to deploy.
string · positional 0
Deploy all services
boolean
--all
Environment
Name of the environment to use.
string
--environment-e
Preview changes only
boolean
--preview
Deploy a package
Path to a zipped package, or a container image tag.
string
--from-package
Timeout per service (seconds)
integer
--timeout
Working directory
path
--cwd-C
Run without prompts
boolean
--no-prompt

azd down

Delete Azure resources
Delete Azure resourcesExample values, fixed in this page — nothing here reaches a terminal
Basic
Layer
string
Environment
string
TasksEach one presets the form for one job
Delete resources
layerenvironment
ParametersOnly these flags are editable in the form
Layer
Optional layer.
string · positional 0
Environment
Name of the environment to use.
string
--environment-e
Skip delete confirmation
boolean
--force
Purge soft-deleted resources
Permanently deletes resources such as key vaults.
boolean
--purge
Working directory
path
--cwd-C
Run without prompts
boolean
--no-prompt
SourcesEvery flag above is checked against these
ref
azd up [flags] -e, --environment string The name of the environment to use. -l, --location string Azure location for the new environment --subscription string ID of an Azure subscription to use for the new environment -C, --cwd string Sets the current working directory. --debug Enables debugging and diagnostics logging.…
manual2026-10-27

learn.microsoft.com

ref
azd init [flags] -b, --branch string The template branch to initialize from. Must be used with a template argument (--template or -t). -e, --environment string The name of the environment to use. --from-code Initializes a new application from your existing code. -l, --location string Azure location for the new environ…
manual2026-10-27

learn.microsoft.com

ref
azd provision [<layer>] [flags] -e, --environment string The name of the environment to use. -l, --location string Azure location for the new environment --no-state (Bicep only) Forces a fresh deployment based on current Bicep template files, ignoring any stored deployment state. --preview Preview changes t…
manual2026-10-27

learn.microsoft.com

ref
azd deploy <service> [flags] --all Deploys all services that are listed in azure.yaml -e, --environment string The name of the environment to use. --from-package string Deploys the packaged service located at the provided path. Supports zipped file packages (file path) or container images (image tag). --preview…
manual2026-10-27

learn.microsoft.com

ref
azd down [<layer>] [flags] -e, --environment string The name of the environment to use. --force Does not require confirmation before it deletes resources. --purge Does not require confirmation before it permanently deletes resources that are soft-deleted by default (for example, key vaults). -C, --cwd string…
manual2026-10-27

learn.microsoft.com

Before it fills your prompt, Otty checks the installed azd against its version. A form that does not match your version is not offered.