using conda environment.yml file code example Example 1: conda env conda env list Example 2: conda create environment from file conda env create -f environment.yml