conda export environment from history code example
Example 1: conda env
conda create -n myenv python=3.6
Example 2: conda install from yaml
conda env update -n my_env --file ENV.yaml
conda create -n myenv python=3.6
conda env update -n my_env --file ENV.yaml