How to Uninstall Miniconda Completely

Vaibhhav Khetarpal Feb 02, 2024
  1. Uninstall Miniconda From Windows
  2. Uninstall Miniconda From Linux
  3. Uninstall Miniconda From macOS
How to Uninstall Miniconda Completely

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 a Miniconda uninstall.exe application in the root directory of the installation of miniconda that can be run to uninstall the package. Additionally, we can also remove the envs and pkgs folder before uninstalling Miniconda 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 of Miniconda. 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 the Miniconda 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 the Terminal.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 the Miniconda 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
    
Vaibhhav Khetarpal avatar Vaibhhav Khetarpal avatar

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