conda env create --file code example Example: conda create environment from file conda env create -f environment.yml