# dependencies

The workflow-level `dependencies` field declares the tool versions a workflow requires, so Atmos can provision them before any step runs.

```yaml
workflows:
  validate:
    dependencies:
      tools:
        tflint: "^0.54.0"
        checkov: latest
    steps:
      - command: terraform validate vpc
      - command: tflint --recursive
        type: shell
```

Atmos installs missing tools and prepares `PATH` before running the workflow.

## Version Values

Dependency versions support the same toolchain version forms used elsewhere in Atmos:

| Value | Meaning |
| --- | --- |
| `1.10.3` | Exact version |
| `~> 1.10.0` | Compatible patch releases |
| `^1.10.0` | Compatible minor releases |
| `latest` | Latest available version |

Use project-wide `.tool-versions` files for common tool versions and workflow `dependencies` for workflow-specific requirements.
