delete all environments conda code example
Example 1: remove environment conda
conda remove --name myenv --all
Example 2: conda remove env
conda env remove --name <name>
Example 3: conda remove environment by path
# remove environments by path
conda remove -p </filepath/myenvironment> --all
Example 4: remove a conda environment
conda env remove --name <name> --all