diff --git a/website/docs/docs/core/pip-install.md b/website/docs/docs/core/pip-install.md index ed5f39ac26..00dc7e5633 100644 --- a/website/docs/docs/core/pip-install.md +++ b/website/docs/docs/core/pip-install.md @@ -175,51 +175,90 @@ python3 -m pip install --pre dbt-core dbt-adapter-name source venv/bin/activate dbt --version ``` -Not, the command `python3 -m pip install --pre dbt-core dbt-adapter-name` will also install any pre-releases of all dependencies. +Note, this will also install any pre-releases of all dependencies. + #### Install prereleases on different operating systems To install or use packages within your virtual environment: - Activate the virtual environment to add its specific Python and `pip` executables to your shell’s PATH. This ensures you use the environment’s isolated setup. - Select your operating system and run the following commands to activate it: + Select your operating system and run the following command to activate it: ```shell +python3 -m pip install --pre dbt-core dbt-adapter-name source .venv/bin/activate -which python -.venv/bin/python +dbt --version ``` -These commands will install the prerelease: + + + ```shell -python3 -m pip install --upgrade pip -python3 -m pip --version -pip 23.3.1 from .../.venv/lib/python3.9/site-packages (python 3.9) +py -m pip install --pre dbt-core dbt-adapter-name +.venv\Scripts\activate +dbt --version ``` - + ```shell -.venv\Scripts\activate -where python -.venv\Scripts\python +python3 -m pip install --pre dbt-core dbt-adapter-name +source venv/bin/activate +dbt --version ``` -These commands will install the prerelease: + + + + ```shell -py -m pip install --upgrade pip -py -m pip --version -pip 23.3.1 from .venv\lib\site-packages (Python 3.9.4) +python3 -m pip install --pre dbt-core dbt-adapter-name +source venv/bin/activate.fish ``` -If you’re using a different operating system, refer to [Git issue on Instructions to create a python virtual environment](https://github.com/dbt-labs/docs.getdbt.com/discussions/2143) for more information. + + +```shell +python3 -m pip install --pre dbt-core dbt-adapter-name +source venv/bin/activate.csh +``` + + + + + +```shell +python3 -m pip install --pre dbt-core dbt-adapter-name +venv/bin/Activate.ps1 +``` + + + + + +```shell +python -m pip install --pre dbt-core dbt-adapter-name +venv\Scripts\activate.bat +``` + + + + + +```shell +python -m pip install --pre dbt-core dbt-adapter-name +venv\Scripts\Activate.ps1 +``` + + \ No newline at end of file