Install dbt
Get dbt running on your machine in a few minutes. Installing dbt gives you Fusion by default: the current, free-to-use experience for v2. Choose your preferred installation method:
Install dbt Preview
- pip
- Homebrew (macOS)
- curl (macOS/Linux)
- winget (Windows)
- Windows (PowerShell)
python -m pip install --pre dbt
To upgrade later, run python -m pip install --upgrade --pre dbt.
brew tap dbt-labs/dbt
brew install dbt-labs/dbt/dbt
To upgrade later, run brew upgrade dbt.
curl -fsSL https://public.cdn.getdbt.com/fs/install/install.sh | sh -s -- --update
This installs the dbt binary to ~/.local/bin/dbt and adds that directory to your $PATH. See uninstalling a curl install if you ever need to remove it.
Close and reopen your terminal (or run exec $SHELL) so the new $PATH is recognized.
To upgrade later, run dbt system update.
winget install --id dbtLabs.dbt --exact
To install a specific version, run winget install --id dbtLabs.dbt --exact --version <version>.
irm https://public.cdn.getdbt.com/fs/install/install.ps1 | iex
Close and reopen your shell (or run Start-Process powershell) so the new Path is recognized.
To upgrade later, run dbt system update.
-
Verify your installation:
dbt --version -
With dbt v2, you can start using the Fusion experience right away. For the best v2 editor experience, install the dbt VS Code extension to use features like autocomplete, inline errors, and lineage.
For full LSP features and other richer Fusion capabilities, run
dbt loginto sign in with a free dbt platform account:dbt login
Refer to the dbt VS Code extension docs for more info.
If you or your org has a strict requirement to use the open-source runtime, install it here.
Troubleshooting
Common issues and resolutions:
- dbt command not found: Add the installation location to your
$PATH. - Version conflicts: Check that no other dbt Core or dbt CLI versions are installed or active on your machine.
- Installation permissions: Make sure your user account can install software locally.
FAQs
More information about Fusion
- About the dbt extension
- Supported features matrix
- Install dbt
- Quickstart for Fusion
- Upgrade guide
- Fusion license agreement
Next steps
- Configure environment variables to manage credentials.
- Configure your profiles.yml file.
- Configure your data platform connection.
- Create your first dbt project using the
dbt initcommand.
Was this page helpful?
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.