export the current conda environment to yml with all dependencies code example
Example 1: list all environment conda
conda info --envs
Example 2: anaconda clone environment
conda create --name myclone --clone myenv
conda info --envs
conda create --name myclone --clone myenv