> ## Documentation Index
> Fetch the complete documentation index at: https://docs.forest.app/llms.txt
> Use this file to discover all available pages before exploring further.

# forest teams:copy-layout

> Overwrite a team's layout with the layout of another team

# forest teams:copy-layout

Copy the whole layout of a team onto another team of the same project. The layout of the destination team is overwritten.

## Usage

```bash theme={null}
forest teams:copy-layout --from <TEAM> --to <TEAM> [options]
```

## Options

| Option | Description |
| - | - |
| `-f, --from` | Name of the team to copy the layout from (required) |
| `-t, --to` | Name of the team to copy the layout to (required). Its layout is overwritten |
| `-p, --projectId` | The ID of the project to work on |
| `--force` | Copy without asking for confirmation |

The source and destination teams must be different. The CLI waits for the copy to finish before returning.

## Examples

```bash theme={null}
# Copy the Operations layout onto the Support team
forest teams:copy-layout --from Operations --to Support

# Copy without confirmation
forest teams:copy-layout -f Operations -t Support --force
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.