Step 1 - System Setup¶
This section outlines the applications required for developing using the dbt framework, and provides instructions for both macOS and Windows. The applications include:
- Python (latest version)
- Visual Studio Code or PyCharm
- Git for Windows/macOS
Install Python 3.12¶
- Open your Terminal (you can find it by searching in Spotlight or navigating to
/Applications/Utilities/Terminal.app
). - Install Python 3.12 using Homebrew (make sure Homebrew is installed). Run the following command:
- Once installation is complete, verify the installation by running:
You should see
Python 3.12.x
as the output.
- Open PowerShell as an Administrator (press
WindowsKey + X
, then select PowerShell (Admin)). - Download and install Python 3.12 from the official Python website by running:
- After installation, verify the installation by running:
You should see
Python 3.12.x
as the output.
Install Visual Studio Code (Optional)¶
- Open Terminal and install Visual Studio Code using Homebrew:
Alternatively, you can download and install it manually from Visual Studio Code.
- To verify installation, launch Visual Studio Code from the Terminal:
- Download Visual Studio Code from Visual Studio Code.
- Install it by following the default installation options.
- After installation, you can open PowerShell and type:
Install and Configure Git¶
- Open Terminal and install Git using Homebrew:
- After installation, confirm Git is installed by running:
- Open PowerShell and download Git using the following command:
- Verify the installation by running:
Once Git is installed, configure it to use Visual Studio Code as your default editor and set the terminal to use PowerShell (on Windows) or Terminal (on macOS).
- Open Terminal and configure Git to use Visual Studio Code as the default editor:
The rest of the installation options should be standard unless you need to change them for other reasons.