conda list --export code example
Example: conda update environment from yml
$ conda activate earth-analytics-python
$ conda env update -f environment.yml
$ conda activate earth-analytics-python
$ conda env update -f environment.yml