Managing multiple conda environment for Jupyter Notebook or Lab requires manual naming and switching of the conda environments. We can use tools to automate this process and make all the conda environment available for Jupyter Notebook or Lab.

First and foremost, install nb_conda_kernels in the base Conda environment like this

conda install -n base_environment_name nb_conda_kernels

If you have already activate the base conda environment, omit the environment name parameter from the above command. With this we will have nb_conda_kernels installed in our base conda environment and it will now handle the switiching of the environments in Jupyter Notebook or Lab and also will make all environment with proper kernels intalled in them available in Jupyter Notebook and Lab.

For a Python environment install the ipykernel like this

conda install -n python_environment_name ipykernel

And for an R environment install the r-irkernel like this

conda install -n r_environment_name r-irkernel

Now all the conda environments should be available in Jupyter applications.

Cheers! 👨🏽‍💻