Conda Cheat Sheet

Create an environment

john> conda create -n ENVIRONMENT_NAME

This will create the environment of name ENVIRONMENT_NAME without any pre-installed tools.

Create a new environment with pre-installed python version 3.8

: john> conda create -n MY_ENVIRONMENT python==3.8

Activate a conda environment

john> coda activate ENV_NAME

where

Deactivate a conda environment

john> conda deactivate

Install a package using conda

john> conda install TOOL_NAME

where

Install from a specific channel

john> conda install -c CHANNEL TOOL_NAME

where

  1. CHANNEL = the name of the channel
  2. TOOL_NAME = the name of the tool that should be installed
  3. </ol>