conda export environment yml code example
Example 1: conda create env from yml
conda env create -f environment.yml
Example 2: conda list environments
conda info --envs
Example 3: conda write environment.yml
conda env export > environment_droplet.yml
Example 4: conda save environment to yaml
# save conda env to .yml
conda env export > environment.yml
Example 5: how to create anaconda environment.yml file
conda env export > environment.yml