> ## 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 environments:update

> Update an environment

# forest environments:update

Update an environment.

## Usage

```bash theme={null}
forest environments:update [options]
```

## Options

| Option                        | Description                                     |
| ----------------------------- | ----------------------------------------------- |
| `-e, --environmentId=<value>` | (required) The forest environment ID to update. |
| `-n, --name=<value>`          | To update the environment name.                 |
| `-u, --url=<value>`           | To update the application URL.                  |
