Removing the Ollama program does not always remove your models, and the models are the heavy part: they live in a separate folder and can add up to tens of gigabytes. A complete uninstall removes the program first and the model folder second.
What you need
- Ollama installed
- A note of any custom OLLAMA_MODELS folder you set
- A terminal, and administrator rights on Linux
Step 1: Remove the program for your system
On Windows, remove Ollama from Add or remove programs and leave Remove models ticked. On a Mac, quit Ollama, drag Ollama.app to the Bin, and delete the /usr/local/bin/ollama link. On Linux, stop and disable the ollama service, then delete the binary, /usr/local/lib/ollama, the ollama user, and /usr/share/ollama.
Step 2: Delete the model folder
Delete the models folder for your system: ~/.ollama/models on macOS, C:\Users\%username%\.ollama\models on Windows, or /usr/share/ollama/.ollama/models for the Linux service. If you set a custom OLLAMA_MODELS folder, delete that folder yourself, because no uninstaller touches it.
Step 3: Confirm nothing large is left
Check the disk space before and after, and look for a leftover .ollama folder in your home directory. If you only want the space back and plan to keep Ollama, use ollama rm on individual models instead of uninstalling.
Worked example: synthetic complete uninstall
The table below is a synthetic example. It shows the expected result of a complete uninstall; no uninstall was run.
| Item | Before | After |
|---|---|---|
| Ollama program | Installed | Removed |
| Models folder | Several GB of models | Deleted |
| Custom OLLAMA_MODELS folder | Models present | Deleted by hand |
| Disk space | Low | Freed |
Expected result (UNTESTED). the program is removed, the model folders are deleted including any custom folder, and the disk space is freed. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- There is no undo; deleted models must be pulled again to get them back.
- Keep the .ollama folder if you only want to fix a broken install, because reinstalling reuses the models.
- Custom models built from a Modelfile point at the same weights, so delete both to get the space back.
