conda create --name <env> --file <this file> code example
Example 1: conda create environment based on requirements.txt
# using pip
pip install -r requirements.txt
# using Conda
conda create --name <env_name> --file requirements.txt
Example 2: conda list environments
conda info --envs
Example 3: remove a conda environment
conda env remove --name <name> --all