> ## 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 schema:diff

> Compare the schemas of two environments

# forest schema:diff

Compare the schemas of two environments of a project, identified by their IDs.

## Usage

```bash theme={null}
forest schema:diff <ENVIRONMENT_ID_FROM> <ENVIRONMENT_ID_TO>
```

## Arguments

| Argument | Description |
| - | - |
| `ENVIRONMENT_ID_FROM` | ID of the first environment (required) |
| `ENVIRONMENT_ID_TO` | ID of the second environment (required) |

[`forest environments`](https://docs.forest.app/reference/cli/environments) lists the environment IDs.

## Options

| Option | Description |
| - | - |
| `--help` | Display usage information |

`schema:diff` compares schemas (collections, fields, actions), not layouts.

## Example

```bash theme={null}
forest schema:diff 324 325
```


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