Uninstalling Anaconda Distribution#

Need to uninstall Anaconda Navigator?

Note

The uninstall procedure might leave behind certain artifacts, such as desktop shortcuts or supplementary files, that must be deleted manually after completion. This is a known issue that is being addressed.

To uninstall your Anaconda installation:

  1. Search for “Control Panel” in the Windows search box and select the Control Panel app.

  2. Click Uninstall a program under Programs.

  3. Select the Anaconda/Miniconda installation you want to uninstall.

  4. Click Uninstall.

  5. Complete the uninstall instructions that appear.

  6. (Optional) If you have created any environments outside your anaconda3 or miniconda3 directory, you can manually delete them to increase available disc space on your computer.

  1. Open your terminal application.

  2. (Optional) Remove any conda initialization scripts from all your terminal shell profiles by running the following command:

    conda activate
    conda init --reverse --all
    
  3. Remove your entire anaconda3 or miniconda3 directory with rm -rf. Depending on your installation, this directory will be in your root folder or in your opt folder.

    Warning

    When paired with the -r (recursive) flag, the f (force) flag deletes all specified directories and the files within them without prompting you for confirmation. Double-check and verify that you have correctly specified the directories you intend to delete before running rm -rf, as this action can’t be undone.

    # The following are a few examples of how you may need to delete your anaconda3 folder
    rm -rf anaconda3
    rm -rf ~/anaconda3
    sudo rm -rf /opt/anaconda3
    
    # The following are a few examples of how you may need to delete your miniconda3 folder
    rm -rf miniconda3
    rm -rf ~/miniconda3
    sudo rm -rf /opt/miniconda3
    
  4. (Optional) Remove the hidden .condarc file and .conda and .continuum directories from your home directory by running the following command:

    Caution

    Consider keeping a backup of the .condarc file, especially if you have custom configurations for conda and are planning on reinstalling.

    rm -rf ~/.condarc ~/.conda ~/.continuum
    
  5. (Optional) If you have created any environments outside your anaconda3 or miniconda3 directory, you can manually delete them to increase available disc space on your computer.

  6. Close and reopen your terminal to refresh it. You should no longer see (base) in your terminal prompt.