Error: unknown command "init" for "dbt"

Hello I am using VS Code (on Windows 10) and tried to initial a new dbt project.

I used Conda to setup virtual environment with python 3.9.18

I installed dbt and then tried to init a project.

dbt init
WARNING: version 0.34.13 of the dbt Cloud CLI is now available.
During beta, old versions are not supported - upgrade now!

Error: unknown command "init" for "dbt"
Run 'dbt --help' for usage.

Can someone please help?

It seems like you installed the dbt package (which is now the dbt cloud cli) rather than the appropriate dbt adapter package. Take a look at the documentation for installing dbt core https://docs.getdbt.com/docs/core/installation

Note: @Peter Debelak originally posted this reply in Slack. It might not have transferred perfectly.

2 Likes