Is there anyway to install elementary-dbt package ...
# ask-elementary-ai
m
Is there anyway to install elementary-dbt package from the repo directly
k
Yes, you can install the Elementary dbt package directly from the GitHub repository instead of using dbt Hub. There are a couple of approaches: Option 1: Install via
packages.yml
using a git reference
In your
packages.yml
, specify the package directly from the
dbt-data-reliability
repository (note: this is the correct repo for the dbt package, not the
elementary
CLI repo):
Copy code
packages:
  - git: "https://github.com/elementary-data/dbt-data-reliability.git"
    revision: <version-or-commit-hash>
[Slack discussion] Option 2: Install a forked version If you've forked the repository and made custom changes, you can point to your fork:
Copy code
packages:
  - git: <your-fork-https-address>
[Slack forum] Important Note on Repositories Elementary has two separate repositories: • dbt package →
<https://github.com/elementary-data/dbt-data-reliability|dbt-data-reliability>
— used in
packages.yml
• CLI/Python package →
<https://github.com/elementary-data/elementary|elementary>
— installed via
pip
When installing via git in
packages.yml
, make sure you're referencing
dbt-data-reliability
, not the
elementary
CLI repo. Using the wrong repo will result in a
No dbt_project.yml found
error. [Slack discussion] 👍 0 button 👎 0 button ℹ️ Tip: Mention @elementary.ai in the thread for follow-ups or DM the app for 1-to-1 help.