conda env export to file code example
Example 1: conda create env from yml
conda env create -f environment.yml
Example 2: anaconda clone environment
conda create --name myclone --clone myenv
conda env create -f environment.yml
conda create --name myclone --clone myenv