diff --git a/docs/source/users/index.md b/docs/source/users/index.md index 50420f716..b5b703a0f 100644 --- a/docs/source/users/index.md +++ b/docs/source/users/index.md @@ -81,7 +81,7 @@ $ pip install jupyter_ai_magics `jupyter_ai` depends on `jupyter_ai_magics`, so installing `jupyter_ai` automatically installs `jupyter_ai_magics`. -### Installation via `pip` within Conda environment (recommended) +### Installation via `pip` or `conda` in a Conda environment (recommended) We highly recommend installing both JupyterLab and Jupyter AI within an isolated Conda environment to avoid clobbering Python packages in your existing Python @@ -93,10 +93,16 @@ and create an environment that uses Python 3.11: $ conda create -n jupyter-ai python=3.11 $ conda activate jupyter-ai - $ pip install jupyter_ai -Then, follow the steps from "Requirements" and "Installation via `pip`" to -install JupyterLab and Jupyter AI in this Conda environment. +Then, use either `pip` or `conda` to install JupyterLab and Jupyter AI in this +Conda environment. + + $ pip install jupyter_ai # or, + $ conda install -c conda-forge jupyter-ai # or, + $ conda install conda-forge::jupyter-ai + +Note that the `pip` package name is `jupyter_ai` with an underscore, and that +the `conda` package name is `jupyter-ai` with a hyphen. When starting JupyterLab with Jupyter AI, make sure to activate the Conda environment first: