How to Uninstall Miniconda Completely
Vaibhhav Khetarpal
Feb 02, 2024
Miniconda
is the small, portable, and minimal bootstrap version of the Anaconda installer. It only includes Python, conda
along with its dependencies, and some other useful packages like zlib
and pip
. The Miniconda
package can support and be installed in Windows, Linux, and macOS.
This tutorial demonstrates how to uninstall the Miniconda
package completely.
Uninstall Miniconda
From Windows
There are two ways in which you can achieve the removal of Miniconda
from Windows.
- Simply use Windows Explorer and find the directory where the
Miniconda
package has been installed. There will be aMiniconda uninstall.exe
application in the root directory of the installation ofminiconda
that can be run to uninstall the package. Additionally, we can also remove theenvs
andpkgs
folder before uninstallingMiniconda
for better and clearer removal of the software. - Search in the Windows Search Bar or open the Control Panel, and find and choose
Add or Remove Programs or Uninstall a Program
. Then, find the version installed and the icon ofMiniconda
. Click on it, and begin the uninstallation process.
Uninstall Miniconda
From Linux
The following process completely removes Miniconda
from Linux.
-
Open the terminal window in Linux.
-
Use the following command to remove the entire
Miniconda
install directory.rm -rf ~/miniconda
-
The
bash_profile
can also be edited further to remove theMiniconda
directory from the user’s PATH environment.~/.bash_profile
-
Moreover, the hidden files and folders can optionally be removed from the home directory.
rm -rf ~/.condarc ~/.conda ~/.continuum
Uninstall Miniconda
From macOS
The following process completely removes Miniconda
from macOS.
-
Open the
iTerm2
terminal application or theTerminal.app
. -
Use the following command to remove the entire
Miniconda
install directory.rm -rf ~/miniconda
-
The
bash_profile
can also be edited further to remove theMiniconda
directory from the user’s PATH environment.~/.bash_profile
-
The hidden files and folders can optionally be further removed from the home directory.
rm -rf ~/.condarc ~/.conda ~/.continuum
Author: Vaibhhav Khetarpal
Vaibhhav is an IT professional who has a strong-hold in Python programming and various projects under his belt. He has an eagerness to discover new things and is a quick learner.
LinkedIn