Introduction

Want to start with dbt core but don’t know where to begin? Don’t worry! In this tutorial, we'll walk through setting up a new dbt project from scratch - we cover the entire process from creating a virtual environment to initializing your project and verifying the setup. Perfect for getting started quickly and smoothly with dbt.

✅ Prerequisites

Before you start, make sure you have:

  • Python 3.7+ installed

1️⃣ Create a virtual environment

Create a new virtual environment in your project directory:

python3 -m venv venv

Activate the virtual environment:

source venv/bin/activate

2️⃣ Install dbt core

Install dbt Core inside your virtual environment using pip:

pip install dbt-core

Verify the installation:

dbt --version

3️⃣ Initialize the dbt Project

Navigate to the directory where you want to create your project, then run dbt init with the project name of your choice.

You can view this post with the tier: Academy Membership

Join academy now to read the post and get access to the full library of premium posts for academy members only.

Join Academy Already have an account? Sign In