From the docs:
To uninstall Anaconda open a terminal window and remove the entire
anaconda install directory:rm -rf ~/anaconda. You may also edit
~/.bash_profileand remove the anaconda directory from yourPATH
environment variable, and remove the hidden.condarcfile and
.condaand.continuumdirectories which may have been created in
the home directory withrm -rf ~/.condarc ~/.conda ~/.continuum.
Further notes:
- Python3 installs may use a
~/anaconda3dir instead of~/anaconda. - You might also have a
~/.anacondahidden directory that may be removed. - Depending on how you installed, it is possible that the
PATHis modified in one of your runcom files, and not in your shell profile. So, for example if you are using bash, be sure to check your~/.bashrcif you don’t find thePATHmodified in~/.bash_profile.