conda get yml file code example
Example 1: conda create env from yml
conda env create -f environment.yml
Example 2: conda update environment from yml
$ conda activate earth-analytics-python
$ conda env update -f environment.yml
Example 3: clone an environment conda
conda create --name myclone --clone myenv
Example 4: make a new environment conda
conda create -n test_env python=3.6.3 anaconda