Skip to content

Commit

Permalink
Merge branch 'cloud-cli-2' of https://github.com/dbt-labs/docs.getdbt…
Browse files Browse the repository at this point in the history
….com into cloud-cli-2
  • Loading branch information
mirnawong1 committed Oct 3, 2023
2 parents df5cf97 + f91cc4c commit 8ee938e
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions website/docs/docs/cloud/cloud-cli-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,24 +70,30 @@ dbt --help

1. Download the latest Windows release for your platform from [GitHub](https://github.com/dbt-labs/dbt-cli/releases).

2. Extract the `dbt-cloud-cli.exe` file into the same folder as your dbt project.
2. Extract the `dbt.exe` executeable into the same folder as your dbt project.

:::info

Advanced users can configure multiple projects to use the same dbt Cloud CLI by placing the executeable in the Program Files folder and [adding it to their Windows PATH environment variable](https://medium.com/@kevinmarkvi/how-to-add-executables-to-your-path-in-windows-5ffa4ce61a53).

If you're using VS Code, remember to restart your IDE to pick up modified environment variables.
Note that if you are using VS Code, you'll need to restart it to pick up modified environment variables.
:::

### Install manually (Linux)
3. Verify the installation by running `./dbt --help` from the command line. If the help text does not indicate that you're using the dbt Cloud CLI, make sure you've deactivated your pyenv or venv and do not have a version of dbt globally installed.

#### Updating your dbt Cloud installation - Windows

Follow the same process in [Installing dbt Cloud CLI](#manually-install---windows) and replace the existing `dbt.exe` executable with the new one. During the beta period, we recommend updating before filing a bug report, as the API is subject to breaking changes!

### Manually install - Linux

1. Download the latest Linux release for your platform from [GitHub](https://github.com/dbt-labs/dbt-cli/releases).

2. Extract the `dbt-cloud-cli` binary to the same folder as your dbt project.

```bash
tar -xf dbt_0.29.9_linux_amd64.tar.gz
dbt --version
./dbt --version
```

:::info
Expand All @@ -99,7 +105,7 @@ Advanced users can configure multiple projects to use the same Cloud CLI execute
3. Run the following command to verify the installation:

```bash
dbt --help
./dbt --help
```

- If the help text doesn't show you're using the dbt Cloud CLI, ensure you've deactivated pyenv or venv and don't have a global dbt version installed
Expand Down

0 comments on commit 8ee938e

Please sign in to comment.