conda change default environment location code example
Example 1: conda write environment.yml
conda env export > environment_droplet.yml
Example 2: remove a conda environment
conda env remove --name <name> --all
conda env export > environment_droplet.yml
conda env remove --name <name> --all