Levo guides · Uninstalling apps
How to uninstall Anaconda and Miniconda on a Mac
Run conda init --reverse --all first, then delete the anaconda3 or miniconda3 folder in your home directory. The order matters: the first command removes the block conda added to your shell config, and if you skip it every new Terminal window will complain about a missing conda.

| What | Where | Safe to delete? |
|---|---|---|
| Install folder | ~/anaconda3, ~/miniconda3, /opt/anaconda3, or /opt/homebrew/Caskroom/miniconda | Yes; it holds every environment and package |
| Environments | ~/anaconda3/envs, plus any in ~/.conda/envs | Only after you export the ones you need |
| Shell setup block | ~/.zshrc, ~/.bash_profile | Yes, via conda init --reverse |
| User config | ~/.condarc, ~/.conda, ~/.continuum | Yes |
| Navigator | /Applications/Anaconda-Navigator.app, ~/.anaconda | Yes |
| Jupyter settings | ~/.jupyter, ~/.ipython | Yes, unless you use Jupyter outside conda |
| Package cache | ~/anaconda3/pkgs | Yes, goes with the folder |
How to do it yourself
1. Save the environments you want
Package lists are tiny. Export one file per environment so you can rebuild it later, with conda or with pip:
conda env list
conda env export -n myenv > myenv.yml
conda activate myenv && pip freeze > myenv-requirements.txt
Your notebooks and scripts live in your own folders and aren’t part of the install. Check that none of your projects sits inside ~/anaconda3.
2. Undo the shell setup
conda init --reverse --all
This removes the block marked # >>> conda initialize >>> from your shell files. Open ~/.zshrc (and ~/.bash_profile if you use bash) to confirm the block is gone, and delete it yourself if it isn’t. It looks like this:
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
...
# <<< conda initialize <<<
Also remove any manual export PATH=".../anaconda3/bin:$PATH" line. Open a new Terminal window: the (base) in your prompt should be gone.
3. Delete the folders
Find where conda lives, then remove that folder:
which conda
conda info --base
rm -rf ~/anaconda3
rm -rf ~/miniconda3
A graphical installer may have put it in /opt/anaconda3, which needs sudo rm -rf /opt/anaconda3. If you used Homebrew:
brew uninstall --cask anaconda
brew uninstall --cask miniconda
4. Delete the hidden files
rm -rf ~/.condarc ~/.conda ~/.continuum ~/.anaconda
rm -rf /Applications/Anaconda-Navigator.app
If you installed with the .pkg installer, the receipts are harmless, but you can drop them with pkgutil --pkgs | grep -i conda and sudo pkgutil --forget <id>.
Don’t delete ~/.jupyter or ~/.ipython if you use Jupyter installed another way, such as pip or Homebrew. Check which jupyter first.
What happens to Python afterwards
macOS doesn’t ship a Python you’re meant to build on. After removing conda, python3 points at the Command Line Tools’ copy or at one from Homebrew or pyenv. If you need virtual environments, see How to find and delete Python virtual environments. For leftover pip and conda caches in a setup you keep, see How to clear the pip and conda cache.
How Levo does it
Levo’s Ready to free list shows package caches with sizes and reasons, so you can see how much of the disk conda’s pkgs folder and your pip cache take before you remove anything. For the full uninstall, press ⌘K and type “uninstall anaconda” or the app’s name (Anaconda Navigator, if you have it).
Levo doesn’t edit your shell config, so run conda init --reverse --all yourself first. The ~/anaconda3 or ~/miniconda3 folder isn’t an app, so delete it by hand as above. Nothing Levo removes goes without your tick. See Uninstall apps and their leftovers. Uninstalls go to the Trash, and Put back in ⌘K restores the app with its leftovers for a day.
FAQ
What does conda init --reverse do?
It removes the conda initialize block from your shell startup files, so new Terminal windows stop loading conda. It doesn’t delete the install folder; you do that afterwards.
Where is Anaconda installed on a Mac?
Usually in ~/anaconda3 for a user install or /opt/anaconda3 for an all-users install. Miniconda uses ~/miniconda3. Run conda info --base to see the exact path.
Will removing Anaconda delete my notebooks?
Not if they’re in your own folders. Notebooks and scripts saved inside the anaconda3 folder go with it, so check there, and export your environments before you delete.
Why does my Terminal still say conda: command not found?
The conda initialize block is still in .zshrc or .bash_profile, or a PATH line points at the old folder. Delete those lines and open a new Terminal window.