---
title: "Environment variable configs"
source: dbt Core Documentation
source_url: https://github.com/dbt-labs/docs.getdbt.com
licence: Apache-2.0
domain: data-and-analysis
subdomain: dbt-docs
date_added: 2026-04-25
---

<VersionBlock lastVersion="1.10">

Environment variables contain a `DBT_` prefix. For a list of all dbt environment variables you can set, refer to [Available flags](/reference/global-configs/about-global-configs#available-flags).

<File name='Env var'>

```text

$ export DBT_<THIS-CONFIG>=True
dbt run

```

</File>

</VersionBlock>

<VersionBlock firstVersion="1.11">

Environment variables use the `DBT_ENGINE_` prefix. For a list of all dbt environment variables you can set, refer to [Available flags](/reference/global-configs/about-global-configs#available-flags).

<File name='Env var'>

```text

$ export DBT_ENGINE_<THIS-CONFIG>=True
dbt run

```

</File>

</VersionBlock>

For more detailed information, read our [environment variables page](/docs/build/environment-variables).

## Config precedence

import SettingFlags from '/snippets/_setting-flags.md';

<SettingFlags />
