azd app clean
Remove build output and cache directories for the services defined in `azure.yaml`.
Usage
azd app clean [flags]Flags
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--service | -s | stringArray | - | Limit to specific services (can be specified multiple times) |
--deps | - | bool | false | Also remove dependency directories (`node_modules`, `.venv`) |
--older-than | - | string | 0s | Only remove artifacts older than this duration (for example, `24h`) |
--dry-run | - | bool | false | List what would be removed and the reclaimable size without deleting |
Examples
azd app clean [flags]azd app clean --dry-runazd app cleanazd app clean --depsazd app clean --older-than 24hazd app clean --service apiDetailed Documentation
For complete documentation including flows, diagrams, and advanced usage, see the full command specification.
View full clean specification →