Uninstalling Miniconda#
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 Miniconda installation:
Search for “Control Panel” in the Windows search box and select the Control Panel app.
Click Uninstall a program under Programs.
Select Miniconda from the list of programs.
Click Uninstall.
Follow the on-screen instructions to complete the uninstallation process.
(Optional) If you have created any environments outside your
miniconda3
directory, you can manually delete them to increase available disc space on your computer.
Silent CLI uninstall
On Windows operating systems, you can silently uninstall Miniconda using either Command Prompt or PowerShell.
Open a new Command Prompt window and run the following command:
start .\miniconda3\Uninstall-Miniconda3.exe /S
Open a new PowerShell window and run the following command:
Start-Process -FilePath ".\miniconda3\Uninstall-Miniconda3.exe" -ArgumentList "/S"
Open your terminal application.
(Optional) Remove any conda initialization scripts from all your terminal shell profiles by running the following command:
conda activate conda init --reverse --all
Remove your entire
miniconda3
directory withrm -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, thef
(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 runningrm -rf
, as this action can’t be undone.# The following are a few examples of how you might need to delete your miniconda3 folder rm -rf miniconda3 rm -rf ~/miniconda3 sudo rm -rf /opt/miniconda3
(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
(Optional) If you have created any environments outside your
miniconda3
directory, you can manually delete them to increase available disc space on your computer.Close and reopen your terminal to refresh it. You should no longer see
(base)
in your terminal prompt.