conda export env yaml code example
Example 1: conda create env from yml
conda env create -f environment.yml
Example 2: conda save environment to yaml
# save conda env to .yml
conda env export > environment.yml
Example 3: list all environment conda
conda info --envs