Working with the Model Library
45%
Removing a Model
ollama rm deletes the model from disk:
MODEL=llama3.2:3b
ollama rm $MODEL
This frees the disk space and unloads the model from memory if it was running. Verify the model is gone:
# The model schema will be gone from the list of models on disk
ls -lrth \
$HOME/.ollama/models/manifests/registry.ollama.ai/library/
# Or
# ls -lrth \
# /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/Local AI Engineering with Ollama
Run, understand, customize, fine-tune, and build agentic apps on your own hardwareEnroll now to unlock all content and receive all future updates for free.
