generate yml file for installed packages code example Example: conda list environments conda info --envs