export conda environment to yml code example
Example 1: conda create env from yml
conda env create -f environment.yml
Example 2: anaconda duplicate environment
conda create --name myclone --clone myenv
Example 3: conda environment.yml
conda env create -f environment.yml
Example 4: conda write environment.yml
conda env export > environment_droplet.yml
Example 5: conda save environment to yaml
# save conda env to .yml
conda env export > environment.yml
Example 6: list all environment conda
conda info --envs