anaconda list envs show code example
Example 1: conda list environments
conda info --envs
Example 2: conda create environment from file
conda env create -f environment.yml
conda info --envs
conda env create -f environment.yml