create environment in anaconda using yaml file code example Example 1: conda list environments conda info --envs Example 2: create new env in anaconda conda create --name myenv