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