Skip to main content

Install dbt Core 2.0

(Applies to dbt v2.0 and later)
dbt Core 2.0 is in alpha

dbt Core 2.0 is under active development and not recommended for production use. Features and APIs may change before the stable release.

dbt Core 2.0 is the open-source foundation behind Fusion, licensed under Apache 2.0. Most users don't need this page — install dbt normally with the standard instructions. This page is for organizations that require the Apache 2.0 codebase specifically.

Install

Install the dbt Core 2.0 prerelease with pip:

python -m pip install --pre dbt-core

Confirm the installed version begins with 2.:

dbt --version

During alpha, you must target either the pre-release version or an explicit pin. After install, immediately update to the most recent version:

Explicit pin:

python -m pip install dbt-core==2.0.0-alpha.1

For adapter install details, refer to the dbt-core repository.

What's included

  • The open-source, Rust-based dbt runtime.
  • The dbt project language and DAG semantics.
  • The standard dbt command set (run, build, test, compile, parse, and more).

What's not included

The standard dbt install gives you Fusion, which adds the following to dbt Core 2.0:

  • SQL comprehension and static analysis
  • LSP features (autocomplete, hover info, inline errors)
  • dbt lint and error diagnostics
  • dbt VS Code extension integration

For the full picture of what you get with dbt, refer to Fusion availability.

Contributing

dbt Core 2.0 is developed in the open. To contribute, refer to the dbt-core repository and its CONTRIBUTING guide, or ask in the dbt Community.

License

dbt Core 2.0 is licensed under Apache 2.0. Refer to the LICENSE file in the repository. Refer to dbt licensing for more info.

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

0
Loading