conda create env code example
Example 1: conda create environment
conda create -n myenv python=3.6
Example 2: conda export environment
# conda export environment.yml
conda env export > environment.yml
# conda create environment from file (Same environment name)
conda env create -f environment.yml
Example 3: conda remove environment
conda remove --name myenv --all
Example 4: list conda environments
conda info --envs
conda env list
Example 5: conda create environment python 3.6
conda create -n myenv python=x.x
Example 6: conda create environment without packages
conda create --name myenv python=3.8 --no-default-packages