conda export environment to yaml code example
Example 1: conda env
conda create -n myenv python=3.6
Example 2: conda list environments
conda info --envs
Example 3: conda env
conda create --name myenv
Example 4: conda create environment from file
conda env create -f environment.yml