Skip to content
Black Friday · 25% off · Lifetime Pro for $5.99 $7.99Ends in …Code BLACKFRI25

Ollama & Hugging Face Cache Locations on Mac

Local LLM experiments pile up quietly under ~/.ollama and ~/.cache/huggingface. Here is how to audit and reclaim space.

Developer GuideBy Ojas PalorkarUpdated November 24, 20265 min readTested on macOS 15.1, Ollama 0.4.x

Quick answer

Run ollama list and du -sh ~/.ollama ~/.cache/huggingface; remove models with ollama rm or delete unneeded HF hub snapshots.

Where the space goes

~/.ollama/modelsollama rm model:tag
20–80 GBUnused tags
~/.cache/huggingface/hubhuggingface-cli delete-cache
15–100 GBStale snapshots
Typical sizes on a 0 to 100 GB scale. Your disk will differ.

Ollama storage

du -sh ~/.ollama
ollama list
ollama rm llama3.2

Hugging Face hub cache

du -sh ~/.cache/huggingface
huggingface-cli scan-cache
huggingface-cli delete-cache

FAQ

Where does Ollama store models on Mac?

Default layout uses ~/.ollama/models (blobs and manifests). Docker-based installs may differ.

Where is the Hugging Face cache?

Hub downloads default to ~/.cache/huggingface/hub — often tens of GB for diffusion and LLM experiments.

Is it safe to delete these folders?

You can re-pull models. Export anything custom first; running jobs will re-download weights.

Run this cleanup in SpaceWise

Same targets, Recovery Bin rollback, no Terminal required. Free tier included.

Download for Mac