apps/docs/content/docs/reference/system-environment-variables.mdx
By setting certain environment variables, you can change Turborepo's behavior. This can be useful for creating specific configurations for different environments and machines.
System environment variables are always overridden by flag values provided directly to your turbo commands.
Turborepo will make the following environment variables available within your tasks while they are executing:
| Variable | Description |
|---|---|
TURBO_HASH | The hash of the currently running task. |
TURBO_IS_TUI | When using the TUI, this variable is set to true. |
TURBO_IS_MFE | When using the microfrontends, this variable is set to the port defined in microfrontends.json for the application. |