In order to uninstall miniconda, simply remove the miniconda folder,

rm -r ~/miniconda/

As for avoiding conflicts between different Python environments, you can use virtual environments. In particular, with Miniconda, the following workflow could be used,

$ wget https://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O ~/miniconda.sh
$ bash miniconda
$ conda env remove --yes -n new_env    # remove the environement new_env if it exists (optional)
$ conda create --yes -n new_env pip numpy pandas scipy matplotlib scikit-learn nltk ipython-notebook seaborn python=2
$ activate new_env
$ # pip install modules if needed, run python scripts, etc
  # everything will be installed in the new_env
  # located in ~/miniconda/envs/new_env
$ deactivate
Answer from rth on Stack Overflow
🌐
Anaconda
anaconda.com › docs › getting-started › miniconda › uninstall
Uninstalling Miniconda - Anaconda
macOS/Linux · Control Panel uninstall · Silent CLI uninstall · (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.
Top answer
1 of 7
150

In order to uninstall miniconda, simply remove the miniconda folder,

rm -r ~/miniconda/

As for avoiding conflicts between different Python environments, you can use virtual environments. In particular, with Miniconda, the following workflow could be used,

$ wget https://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O ~/miniconda.sh
$ bash miniconda
$ conda env remove --yes -n new_env    # remove the environement new_env if it exists (optional)
$ conda create --yes -n new_env pip numpy pandas scipy matplotlib scikit-learn nltk ipython-notebook seaborn python=2
$ activate new_env
$ # pip install modules if needed, run python scripts, etc
  # everything will be installed in the new_env
  # located in ~/miniconda/envs/new_env
$ deactivate
2 of 7
141

The proper way to fully uninstall conda (Anaconda / Miniconda):

  1. Remove all conda-related files and directories using the Anaconda-Clean package

    conda activate your_conda_env_name
    conda install anaconda-clean
    anaconda-clean # add `--yes` to avoid being prompted to delete each one
    
  2. Remove your entire conda directory

    rm -rf ~/miniconda3
    
  3. Remove the line which adds the conda path to the PATH environment variable

    vi ~/.bashrc
    # -> Search for conda and delete the lines containing it
    # -> If you're not sure if the line belongs to conda, comment it instead of deleting it just to be safe
    source ~/.bashrc
    
  4. Remove the backup folder created by the the Anaconda-Clean package NOTE: Think twice before doing this, because after that you won't be able to restore anything from your old conda installation!

    rm -rf ~/.anaconda_backup
    

Reference: Official conda documentation

Discussions

uninstallation - Uninstall Miniconda on MacOS - Stack Overflow
I would like to uninstall Miniconda from my mac. I wanted to follow these instructions but I didn't find similar folders or files in my home directory. However I found the miniconda3 folder in /opt... More on stackoverflow.com
🌐 stackoverflow.com
How can I delete Anaconda? (I've done something silly)
Uninstall or anaconda is one of the worst I’ve seen, just went through this today More on reddit.com
🌐 r/learnpython
11
1
July 10, 2022
Why does mac install and uninstall programs so quickly?
Mac apps are totally self contained other than library files they install in places like /applicationsupport, whereas PC apps are more deeply integrated into the core of the OS after installation. You can cleanly uninstall a Mac app just by deleting it and it’s associated library files. Even if you forget the library files you can still usually just delete the app. More on reddit.com
🌐 r/mac
47
27
September 3, 2023
How to uninstall bcml and miniconda in Steam Deck?
Why you installed something that says in the landing page it's obsolete and there's a new software that has a steam deck specific version 😭(which just needs to be unzipped and run). I am at work now. On a normal install on PC, the cleanest way would be to run anaconda-clean. Try to run that command anyway, it should give pointers to what is needed to be deleted. By quick googling, the dirty way to remove leftovers is just removing all the references to miniconda in your .bashrc and nuking the miniconda folder should get rid of most of it, it's pretty self contained. There could be also a binary to delete. All my info comes from this thread on stack overflow, it's for another Linux distro but the principles are the same. As for bcml itself, the script just installs it using miniconda and download a .PNG icon and a .desktop file. Deleting the .desktop file and the .PNG file should be all. BIG FAT MOTHERFRIGGIN WARNING - PAY REALLY CLOSE ATTENTION WHEN USING THE rm -rf COMMAND. THAT THING IS LIKE A CLUSTER OF LOW ORBIT ION CANNONS WITH FREE NUCLEAR CLUSTERBOMBS It does one thing, it kills files, and it does it really fast. The -rf part means recursive force which translates to remove the safety and fire it full auto until nothing is left. Aim it the wrong way, and it will mercilessly shred everything from where it's started until nothing is left. Just double check it is aimed toward the folder you want to scrub before letting it loose. More on reddit.com
🌐 r/SteamDeck
12
0
July 7, 2023
🌐
MacPaw
macpaw.com › how to › optimization › apps
How to uninstall Miniconda: Mac user guide
October 28, 2024 - If you’ve installed Miniconda but no longer use it, you may want to uninstall it. We’ll show you how to uninstall Miniconda on your Mac step by step.
🌐
Quora
quora.com › How-do-I-completely-remove-Miniconda-from-a-Mac-OS-X-I-guess-its-messing-up-my-system-I-probably-did-something-wrong-during-the-first-build-install
How do I completely remove Miniconda from a Mac OS X? I guess it's messing up my system; I probably did something wrong during the first ...
Answer (1 of 2): This was the first ... uninstall To uninstall Miniconda open a terminal window and remove the entire miniconda install directory: [code ]rm -rf ~/miniconda[/code]. You may also edit [code ]~/.bash_prof...
🌐
GitHub
gist.github.com › pulkitgangwar › 421a1af800c5a9c6d4a77b1c252f4565
Removing miniconda from macbook air m1 · GitHub
Removing miniconda from macbook air m1 · Raw · miniconda-removal.md · Create backup with anaconda clean · conda install anaconda-clean anaconda-clean --yes · Remove the miniconda folder · rm -rfv ~/miniconda · Remove the import from .zshrc ...
🌐
MacKeeper
mackeeper.com › blog › mac tutorials › how to delete anaconda from a mac
How to Uninstall Anaconda on a Mac
September 23, 2025 - You can then edit ~./bash_profile for complete uninstallation of Miniconda from your PATH environment variable.
Find elsewhere
🌐
Resbaz
resbaz.github.io › resbook-installation › python.html
Python | ResBook Installation Directory
If you need to uninstall Miniconda for any reason, you can do this through “Add or remove Program” in the control panel, by removing “Python 3.6(Miniconda)”
🌐
Delft Stack
delftstack.com › home › howto › python › uninstall miniconda
How to Uninstall Miniconda Completely | Delft Stack
March 11, 2025 - Run the following command to initiate the uninstallation process: ... This command installs the Anaconda-Clean package, which helps in removing all traces of Miniconda.
🌐
LEMP
lemp.io › how-to-uninstall-miniconda-mac-os
How To Uninstall Miniconda On A Mac – LEMP
December 4, 2022 - To uninstall Miniconda using the “conda” command, first open a terminal window and then type the following: conda install anaconda-clean anaconda-clean will remove any configuration files and folders associated with Miniconda, including the .condarc file in your home directory.
🌐
Setapp
setapp.com › how-to › uninstall-anaconda-on-mac
How to uninstall Anaconda on Mac: Complete removal guide
March 6, 2026 - To remove Miniconda completely, the process you need to follow is similar to removing Anaconda. ... Go to Finder > Applications > Utilities > Terminal. Uninstall the Miniconda directory by running the command
🌐
iBoysoft
iboysoft.com › home › news tips › a full guide on how to uninstall anaconda on mac
A Full Guide on How to Uninstall Anaconda on Mac
January 13, 2026 - Copy, paste, and run this command to remove the Miniconda directory from the PATH environment. ~/.bash_profile · Finally, remove hidden files from the home directory by running: rm -rf ~/.condarc ~/.conda ~/.continuum · Though Anaconda is a really useful tool, you may want to delete it from your Mac computer someday. In this article, we show you how to uninstall Anaconda on Mac through Finder and Terminal.
🌐
Anaconda
docs.anaconda.com › free › anaconda › install › uninstall
Uninstalling Anaconda Distribution — Anaconda documentation
Select the Anaconda/Miniconda installation you want to uninstall. Click Uninstall. Complete the uninstall instructions that appear. (Optional) If you have created any environments outside your anaconda3 directory, you can manually delete them to increase available disc space on your computer. ...
🌐
Saturn Cloud
saturncloud.io › blog › how-to-uninstall-miniconda-on-linux-a-guide
How to Uninstall Miniconda on Linux: A Guide | Saturn Cloud Blog
August 8, 2023 - In this blog, discover a step-by-step guide for uninstalling Miniconda, the lightweight Conda package manager, from your Linux system, helping data scientists efficiently manage their software tools.
🌐
DailyMacTips
dailymactips.com › home › how to uninstall miniconda mac
How To uninstall Miniconda Mac
July 28, 2025 - To completely uninstall Miniconda on your Mac, follow this straightforward step-by-step guide. Uninstalling frees up disk space and removes any Miniconda-related configurations to prevent conflicts with other Python environments. Step 1: Quit Miniconda-Related Processes Before uninstalling, ...