--- tags: General title: Example general conda env setups --- # Example general conda env setups --- > The below uses `mamba` in place of `conda` for installs – it's worth it to pick this up if not familiar yet! See [here](https://astrobiomike.github.io/unix/conda-intro#bonus-mamba-no-5) for quick intro to `mamba`. --- [toc] --- ## Jupyter Lab conda environment creation (last updated 3-Oct-2022) ```bash mamba create -n jupyterlab -c conda-forge jupyterlab python=3 ``` Then can launch jupyter lab like so: ```bash conda activate jupyterlab jupyter lab ``` --- ## RStudio conda environment creation (last updated 3-Oct-2022) ```bash mamba create -n rstudio -c conda-forge -c bioconda -c defaults r-base=4.1.3 rstudio=1.1.456 r-tidyverse=1.3.2 ``` Then can launch rstudio like so: ```bash conda activate rstudio rstudio ``` --- ## Jupyter lab with R and unix kernels ```bash mamba create -n jupyter-with-unix-and-r-kernels -c conda-forge -c bioconda -c defaults jupyterlab=3.6.0 \ bash_kernel=0.9.0 r-irkernel=1.3.2 coreutils=9.1 r-base=4.1.3 ``` Then can launch with: ```bash jupyter lab ``` ---