How to Delete Local LLMs

Deleting Ollama models

When to do this

The local LLMs downloaded by Ollama live in the $HOME/.ollama/models directory. You should delete some of them if this directory is taking up too much space. (Here is how to find out which directories take up the most space.)

How to do it

Use the ollama rm command, as described in the Ollama documentation.