conda get a list of all environments code example
Example 1: conda deactivate
conda deactivate
Example 2: remove a conda environment
conda env remove --name <name> --all
conda deactivate
conda env remove --name <name> --all