> ## 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 roles:copy

> Copy role permissions from one environment to another

# forest roles:copy

Copy role permissions from one environment to another.

## Usage

```bash theme={null}
forest roles:copy [options]
```

## Options

| Option                    | Description                              |
| ------------------------- | ---------------------------------------- |
| `-f, --from=<value>`      | (required) Source environment name.      |
| `-p, --projectId=<value>` | Forest project ID.                       |
| `-t, --to=<value>`        | (required) Destination environment name. |
