conda export all environments code example
Example 1: anaconda remove environment
conda env remove -n ENV_NAME
Example 2: conda write environment.yml
conda env export > environment_droplet.yml
Example 3: conda create environment from file
conda env create -f environment.yml