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

# Environment Variables - CDK Terrain

> There are some environment variables that can be used to configure the behavior of CDKTN.

Use these environment variables to configure CDK Terrain (CDKTN) behavior.

| Variable Name                      | Description                                                                                                                                                                                                                              | Default      |
| ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| CDKTF\_DISABLE\_PLUGIN\_CACHE\_ENV | If set to `true` or `1`, CDKTN disables the [plugin cache](/terraform/cli/config/config-file#provider-plugin-cache). Otherwise, CDKTN creates the plugin cache directory in `~/.terraform.d/plugin-cache` if it is not already present.  |              |
| GITHUB\_API\_TOKEN\_CDKTF          | If set, the `provider add` and `provider update` command will use this token for authenticated requests to Github when looking for pre-built provider packages for Go.                                                                   |              |
| CDKTF\_HOME                        | Where CDKTN should store cache and configuration files.                                                                                                                                                                                  | `~/.cdktf`   |
| CDKTF\_LOG\_FILE\_DIRECTORY        | The directory path where CDKTN should create `cdktf.log` and print logs at the `debug` level. If not set, CDKTN writes logs to standard out at the level specified in `CDKTF_LOG_LEVEL`.                                                 | standard out |
| CDKTF\_LOG\_LEVEL                  | Controls how much log information CDKTN prints to the console. You can set it to one of the following values: `all`, `debug`, `info`, `warn`, `error`, `fatal`, `off`.                                                                   | `warn`       |
| CHECKPOINT\_DISABLE                | If set to any value, CDKTN will not send [telemetry](/telemetry) data.                                                                                                                                                                   |              |
| DISABLE\_VERSION\_CHECK            | If set to `true` or `1`, CDKTN will not perform a version check. If it is not set, CDKTN verifies that your installed library version matches the CLI version. If they do not match, CDKTN displays a warning.                           |              |
| FORCE\_COLOR                       | If set to `0`, CDKTN disables colored CLI output. Refer to [`chalk` documentation](https://github.com/chalk/chalk#supportscolor) for other supported values.                                                                             |              |
| HTTP\_PROXY or http\_proxy         | The proxy that CDKTN should use for all HTTP requests.                                                                                                                                                                                   |              |
| TERRAFORM\_BINARY\_NAME            | The name of the Terraform-compatible binary that CDKTN should use. Set to `tofu` to use [OpenTofu](https://opentofu.org/) instead of Terraform.                                                                                          | `terraform`  |
| TF\_TOKEN\_app\_terraform\_io      | The token CDKTN should use to authenticate with Terraform Cloud. Must be set to a valid [HCP Terraform API token](/terraform/cloud-docs/users-teams-organizations/api-tokens). In case of TFE app\_terraform\_io would be your hostname. |              |
| CI                                 | If set to `true` or `1`, CDKTN will run in a non-interactive CI mode.                                                                                                                                                                    |              |
