---
name: no-shell
description: "Disable shell commands when using boilerplate templates in the catalog."
type: bool
env:
  - TG_NO_SHELL
---

import { Aside } from '@astrojs/starlight/components';

When enabled, Terragrunt will disable shell commands when processing boilerplate templates during catalog operations.

This is useful for security reasons when you want to prevent templates from executing arbitrary shell commands on your system.

<Aside type="caution">
Do not use catalog/scaffold to scaffold untrusted templates. IaC configurations are inherently powerful, as they
can run arbitrary code on your system, so make sure to only use trusted templates you have reviewed and approved.
</Aside>

<Aside type="note">
Note that you will otherwise be prompted to confirm the execution of each shell command unless you are running in [non-interactive mode](/reference/cli/global-flags/#non-interactive).
</Aside>

Examples:

```bash
terragrunt catalog --no-shell
```
