To install dbt Core, follow the instructions provided in the official documentation.
Create a new virtual environment:
python -m venv dbt-env # create the environment
For Mac and Linux:
source dbt-env/bin/activate
cd dbt-env #change directory and go to virtual environment
Install dbt-core only:
python -m pip install dbt-core
Once dbt Core is installed, you can create a new project.
Verify dbt installation:
dbt --version
Initiate a new project named "jaffle_shop":
dbt init jaffle_shop
Navigate to the project directory:
cd jaffle_shop