# create env from .yml
conda env create --name environment_name --file environment.yml
# save conda env to .yml
conda env export > environment.yml
# Basic syntax:
conda activate environment_to_export # Activate environment, can be base
conda env export > environment.yml # Export the environment to .yml
conda env export > environment_droplet.yml
conda env create -f environment.yaml