conda export code example
Example 1: 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 2: conda create env from yml
conda env create -f environment.yml
Example 3: conda env
conda create -n myenv python=3.6
Example 4: conda list environments
conda info --envs