Back up environments

If you plan to reinstall Miniconda, back up your environments before uninstalling by exporting them to a YAML file using the following command:

# Replace <ENV_NAME> with the name of the environment you want to back up
conda env export --name <ENV_NAME> > <ENV_NAME>.yaml

You can then use this file to recreate the environment after reinstalling. For more information, see Creating an environment.

Uninstall procedure

Follow the uninstall procedure below for your operating system:

(Optional) If you have created any environments outside your miniconda3 directory, Anaconda recommends manually deleting them to increase available disc space on your computer. This step must be performed before uninstalling Miniconda.

  1. Search for “Control Panel” in the taskbar search and select the Control Panel app.
  2. Click Uninstall a program under Programs.
  3. Select Anaconda from the list of programs.
  4. Click Uninstall.
  5. Follow the on-screen instructions to complete the uninstallation process.
  6. Verify your uninstall was successful by searching for “Anaconda Prompt” in the taskbar search. It should no longer appear.