Skip to content

Instantly share code, notes, and snippets.

@jgilfillan
Last active February 11, 2022 11:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgilfillan/c875f522cd9157b1bf33adbedeff51db to your computer and use it in GitHub Desktop.
Save jgilfillan/c875f522cd9157b1bf33adbedeff51db to your computer and use it in GitHub Desktop.
# ensure python 3 is installed
cd ~
mkdir dbt-envs
cd dbt-envs
python -m venv dbt-env
.\dbt-env\Scripts\activate
# install dbt-core
git clone https://github.com/dbt-labs/dbt-core.git
cd dbt-core
pip install -r .\requirements.txt
dbt --version
cd ..
# install dbt-sqlserver
git clone https://github.com/dbt-msft/dbt-sqlserver.git
cd dbt-sqlserver
pip install .
# create new dbt project
# cd ~
# mkdir dbt-sql-test
# cd dbt-sql-test
# dbt init sql-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment