> ## Documentation Index
> Fetch the complete documentation index at: https://forest-docs-cli-reference-headless-commands.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# forest layout:patch

> Patch the layout directly (single PATCH per domain, like the front — no pull/apply)

# forest layout:patch

Patch the layout directly (single PATCH per domain, like the front — no pull/apply).

## Usage

```bash theme={null}
forest layout:patch [FILE] [options]
```

## Arguments

| Argument | Description                                                   |
| -------- | ------------------------------------------------------------- |
| `FILE`   | JSON patch file to apply. Use "-" or omit to read from stdin. |

## Options

| Option                    | Description                                                      |
| ------------------------- | ---------------------------------------------------------------- |
| `-e, --env=<value>`       | Environment name or id.                                          |
| `-f, --force`             | Skip the confirmation prompt (required when reading from stdin). |
| `-p, --projectId=<value>` | Project id.                                                      |
| `-t, --team=<value>`      | Team name or id.                                                 |
| `--dry-run`               | Print operations without sending them.                           |
