I need to download a zip file of packages: - packa...
# ask-elementary-ai
n
I need to download a zip file of packages: - package: elementary-data/elementary version: 0.18.1 ## Docs: https://docs.elementary-data.com. this becaube my dbt-project are on prem without possibility to conection to the internet
k
A message from kapa.ai
I understand you're working with Elementary Data in an environment without internet access. This is a common challenge when running dbt and Elementary in air-gapped environments. Based on the knowledge sources, there are a few approaches to handle this situation: ### Option 1: Pre-download packages during image build You can pre-download the Elementary internal dbt packages when building your Docker image:
Copy code
dbt deps --project-dir /path/to/site-packages/elementary/monitor/dbt_project --profiles-dir /your/profiles/dir
This needs to be done after installing the Elementary CLI with pip, as mentioned by a support staff member [in the community forum](https://slack.com/archives/C02CTC89LAX/p1665377430565369). ### Option 2: Copy packages manually You can manually copy the Elementary and dbt_utils packages into the Elementary internal dbt project's packages folder. As one community member suggested, you would need to copy these into:
Copy code
../site-packages/elementary/monitor/dbt_project/dbt_packages/
This approach was confirmed to work by a community member [in a Slack thread](https://slack.com/archives/C02CTC89LAX/p1679910207387459). ### Option 3: Use git installation instead of hub.getdbt.com If you have access to GitHub but not hub.getdbt.com, you can install Elementary from GitHub directly. Note that the dbt package is in a separate repository:
Copy code
- git: "<https://github.com/elementary-data/dbt-data-reliability.git>"   revision: 0.18.1
This was suggested [in a community discussion](https://slack.com/archives/C02CTC89LAX/p1676595374183909). ### Recent Development There's a recent pull request (#1867) that added a
dbt-init
command to set up the internal Elementary dbt project specifically for CI/CD pipelines in environments without internet access. This might be worth exploring as it was designed to address this exact issue. I recommend checking the latest Elementary documentation or reaching out to their support team for the most up-to-date guidance on offline installations. I hope this helps with your on-premises setup!