conda delete all packages with name x code example
Example 1: remove package conda
conda remove -n myenv scipy
Example 2: conda remove environment by path
# remove environments by path
conda remove -p </filepath/myenvironment> --all
conda remove -n myenv scipy
# remove environments by path
conda remove -p </filepath/myenvironment> --all