---
name: clean
path: "stack/clean"
category: stack
description: Remove `.terragrunt-stack` directories created by `stack` commands.
usage: |
  Running `terragrunt stack clean` removes the `.terragrunt-stack` directory, which is generated by the `terragrunt stack generate` or `terragrunt stack run` commands.

  This can be useful when you need to remove generated configurations or troubleshoot issues.
sidebar:
  order: 403
examples:
  - description: Remove all auto-generated `.terragrunt-stack` directories created by `stack` commands.
    code: |
      terragrunt stack clean
---
