# usage of require-dbt-version in dbt cloud env

**URL:** <https://discourse.getdbt.com/t/usage-of-require-dbt-version-in-dbt-cloud-env/5184>\
**Category:** Help\
**Tags:** dbt-cloud\
**Created:** [October 27, 2022, 7:17am UTC](https://discourse.getdbt.com/t/usage-of-require-dbt-version-in-dbt-cloud-env/5184 "2022-10-27T07:17:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![obar1](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/obar1/32/1221_2.png) [@obar1](https://discourse.getdbt.com/u/obar1)\
**Post date:** [October 27, 2022, 7:17am UTC](https://discourse.getdbt.com/t/usage-of-require-dbt-version-in-dbt-cloud-env/5184/1 "2022-10-27T07:17:32Z")

</div>

I was reading about  
[require-dbt-version | dbt Developer Hub (getdbt.com)](https://docs.getdbt.com/reference/project-configs/require-dbt-version)  
as I am trying v1.2 to upgrade from v1.0 ( we have been using so far in our jobs)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/getdbt/original/2X/8/8039e4ccda6702cc647215a604e8ce4ac8787d1e.png)  
Should I add this in my yml?

```auto
require-dbt-version: [">=1.2.0", "<1.3.0"]

```

as I don’t want to use 1.3 yet … is this the right way?  
or it does not matter as I am using dbt cloud?

---

<div class="post-metadata">

**Author:** ![joellabes](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/joellabes/32/3980_2.png) [@joellabes](https://discourse.getdbt.com/u/joellabes)\
**Post date:** [October 27, 2022, 9:09am UTC](https://discourse.getdbt.com/t/usage-of-require-dbt-version-in-dbt-cloud-env/5184/2 "2022-10-27T09:09:33Z")

</div>

You will need to manually select an upgraded minor version (i.e. the 3 in 1.3) in your dbt Cloud environment, so you don’t need to set `require-dbt-version`.

And even if you did, set the required version, it doesn’t work the way you described above – `require-dbt-version` is only enforced when dbt is invoked and the dbt Cloud environment configuration UI (as well as dbt Core itself, if you install from the CLI) doesn’t take it into account.

In short: It’s a way to do a last-minute check that your environment is correctly configured, but isn’t used to create the configuration itself.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/getdbt/original/1X/a7a7ca1fe379aaf90952b0e13118a817babcd14f.png) [@system](https://discourse.getdbt.com/u/system)\
**Post date:** [November 3, 2022, 9:10am UTC](https://discourse.getdbt.com/t/usage-of-require-dbt-version-in-dbt-cloud-env/5184/3 "2022-11-03T09:10:00Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
