# Download & Install Offline

This page walks you through the specific case of downloading the packages to a local folder, and installing from it offline at a later time/on a separate device

**👉 For general instructions (combined download & install), follow the main** [**Installation Instructions**](https://docs.sdv.dev/sdv-enterprise/installation/instructions) **instead.**

{% hint style="success" %}
**What will you need to get started?** Please make sure you have your ***email*** and ***license key*** on-hand. If you do not know what your email and license key, please contact DataCebo.

Please also double check that your machine meets the [**Technical Requirements**](https://docs.sdv.dev/sdv-enterprise/installation/requirements) for SDV Enterprise.
{% endhint %}

## Get the SDV Installer

{% hint style="info" %}
**Use the SDV Installer**: We recommend using the SDV Installer to verify technical requirements, check your credentials, and easily download all the packages you have access to.

Start by installing the SDV Installer:

```
pip install sdv-installer --upgrade
```

*If you have previously installed the SDV Installer, this same command will also update it.*
{% endhint %}

## Step 1: Download packages to a local destination

The installer is able to look up all the packages that you have access to, and download each one. Run the command below in your terminal console to download the packages and save them to a local folder:

```bash
sdv-installer download --folder sdv-enterprise --username user@company.com --license-key 123
```

(*You can replace the name `sdv-enterprise` with the name of a local folder. All packages will be downloaded inside the folder.)*

* For your ***username***, enter the ***email*** that is associated with your SDV Enterprise license
* For your ***license key***, enter your ***license key**. Please be sure you copy-paste exactly as provided by DataCebo.*

If this authenticates successfully, the installer will automatically download all the packages you have access to — SDV Enterprise, as well as any additional bundles you have purchased.

```
Downloading SDV Enterprise:
sdv-enterprise (version 0.30.0) - Downloaded!

Downloading Bundles:
bundle-cag - Downloaded!
bundle-xsynthesizers - Downloaded!

Success! All packages have been downloaded. Please install the packages to use SDV Enterp
```

<details>

<summary>Download for a different environment</summary>

By default the command will download SDV Enterprise for the machine you're currently using. If you'd like to download SDV Enterprise for use on a *different machine*, add the flags below that correspond to the desired destination.

* **Python version**: Use the `--python-version` flag to provide your Python version: `39`, `310`, `311`, etc.
* **OS Platform**: Use the `--platform <platform_name>` to provide your OS platform. Supported platform names include:

{% hint style="info" %}
**How do I know which platform tag to use?** Each machine is compatible with one or multiple different platform tags. Run the code below to see which platform tags are compatible your machine.

```python
from packaging import tags

supported_tags = []
for tag in tags.sys_tags():
    if tag.platform not in supported_tags:
        supported_tags.append(tag.platform)

print(supported_tags)
```

\
This prints out a list of tags. From that list, pick any one that matches the available SDV Enterprise tags listed below:

* Windows: `win_amd64`
* Linux: `musllinux_1_2_x86_64.whl` , `manylinux2014_x86_64`, `manylinux_2_17_x86_64`, or `manylinux_2_28_x86_64`&#x20;
* MacOS: `macosx_11_0_x86_64` or `macosx_11_0_arm64`&#x20;

*Please note that the available tags for SDV Enterprise may change as new platforms and infrastructure becomes available. If you cannot find a tag to use, or need help picking one, please contact us.*&#x20;
{% endhint %}

For example, the following command will download packages for use on Python 3.10 with Windows — regardless of the machine you are currently using:

```bash
sdv-installer install --folder sdv-enterprise --username user@company.com --license-key 123 --python-version 310 --platform win_amd64
```

</details>

{% hint style="info" %}
**Are you trying to download the AI Connectors bundle?** This bundle will not be fully downloaded by default, because it requires you to input the names of your databases. To use this bundle, please re-run the download command for this particular package with the database names.

```bash
sdv-installer download --folder sdv-enterprise --username user@company.com --license-key 123 --package bundle-ai-connectors --options db-bigquery db-mssql
```

For more information about the available database, see the [AI Connectors docs page](https://docs.sdv.dev/sdv/explore/sdv-bundles/ai-connectors).
{% endhint %}

## Step 2: Install offline from your local folder

Now, you can complete the installation offline from the local folder that you created in step 2. This step can be done on a different machine, and it will not require any internet connection. If needed, please transfer the folder to the final destination before completing the installation.

```bash
sdv-installer install --folder sdv-enterprise
```

*(Replace the name `sdv-enterprise` with the name of the local folder you created in step 2.)*

```
Installing SDV Enterprise:
sdv-enterprise (version 0.30.0) - Installed!

Installing Bundles:
bundle-cag - Installed!
bundle-xsynthesizers - Installed!

Success! All packages have been installed. You are ready to use SDV Enterprise.
```

{% hint style="info" %}
**Are you trying to install the AI Connectors bundle?** This bundle will not be fully installed by default, because it requires you to input the names of your databases. To use this bundle, please re-run the installation command for this particular package with the database names.

```bash
sdv-installer install --folder sdv-enterprise --package bundle-ai-connectors --options db-bigquery db-mssql
```

For more information about the available database, see the [AI Connectors docs page](https://docs.sdv.dev/sdv/explore/sdv-bundles/ai-connectors).
{% endhint %}

## Step 3: Verify the installation

To verify that your installation worked, open Python and run the following commands:

```python
# run these commands in Python
import sdv
print(sdv.version.enterprise)
```

If you've successfully installed SDV Enterprise,  this should print a version of SDV Enterprise [from this page](https://docs.sdv.dev/sdv-enterprise/sdv-enterprise/release-notes).

## FAQs

{% hint style="info" %}
**Having problems installing SDV Enterprise?** Please ensure your machine meets the [Technical Requirements](https://docs.sdv.dev/sdv-enterprise/installation/requirements), and refer to the [Troubleshooting page](https://docs.sdv.dev/sdv-enterprise/installation/troubleshooting) for next steps.
{% endhint %}

<details>

<summary>Can I provide my credentials in any other way?</summary>

Instead of the `--username` and `--license-key` flags, you can instead provide a JSON filepath that contains your credentials. The JSON should contain a key called "username" that maps to your username and a key called "license\_key" that maps to your license key.

For example, you can create a file called `my_credentials.json` with your information:

```json
{
    "username": "user@company.com",
    "license_key": "123"
}
```

Then provide the file during installation.

```bash
sdv-installer download --folder sdv-enterprise --credentials my_credentials.json
```

If you don't provide any credentials, then SDV Installer interactively prompts you to input them directly.

</details>
