conda update with yml code example
Example 1: conda update environment from yml
$ conda activate earth-analytics-python
$ conda env update -f environment.yml
Example 2: conda create environment from file
conda env create -f environment.yml
$ conda activate earth-analytics-python
$ conda env update -f environment.yml
conda env create -f environment.yml