Date: November 15, 2026
Running Large Language Models (LLMs) locally puts full control over privacy, speed, and customization into your hands. However, unlike cloud APIs where providers silently upgrade models behind the scenes, a local setup makes you the system administrator. Without a routine for managing weights, tags, and storage, your local library can quickly become outdated or bloated.
This practical guide walks through organizing, updating, and maintaining your local models in Ollama.
name:tag convention—re-pulling updates layers within that exact tag, while major architectural generations publish under distinct model names.ollama pull compares local layer hashes against the remote registry, downloads only modified layers, and cleans up orphaned data.update-all command, simple Bash/Zsh or PowerShell one-liners can iterate through ollama list to refresh your entire library.Modelfile; you must re-run ollama create after pulling the latest base weights.ollama list, pruning with ollama rm, and active memory inspection with ollama ps prevent hundreds of gigabytes of weight bloat.Before updating a model, it helps to understand how Ollama tracks versions. Every model follows a name:tag structure (for example, qwen2.5-coder:7b).
gemma2:2b will never automatically move you to gemma3. Major architectural upgrades are published under new model names, meaning you must actively seek out and pull newer generations when you are ready to transition.:latest Tag: Omitting a tag defaults to :latest, which usually points to the standard parameter size (often 7B or 8B) of that model family.Ollama does not auto-update models in the background. To bring an existing model up to date, simply re-pull it:
ollama pull <model-name>:<tag>
When you run this command, Ollama compares your local layer hashes against the remote registry. If nothing has changed, it finishes in seconds. If upstream changes exist, Ollama downloads only the modified layers, updates the model ID, and automatically deletes the orphaned data to save disk space.
If you maintain several models—such as separate models for coding, general reasoning, and lightweight tasks—updating them one by one becomes tedious. Because Ollama does not include a native update-all command, you can automate the process using a single terminal command.
ollama list | tail -n +2 | awk '{print $1}' | while read -r model; do ollama pull "$model"; done
ollama list | Select-Object -Skip 1 | ForEach-Object { ($_ -split '\s+')[0] } | ForEach-Object { ollama pull $_ }
Both scripts read your installed inventory, strip out the table header, extract the NAME column, and run ollama pull sequentially for every model on your machine.
If you build custom assistants using a Modelfile (to set custom system prompts, temperature rules, or context windows), updating the base model will not automatically refresh your custom build.
To keep a custom model current:
Pull the updated base model:
ollama pull hermes3:latest
Rebuild your custom model using your saved configuration:
ollama create my-custom-assistant -f ./Modelfile
Local models typically range from 1.5 GB to over 40 GB each. Over time, experimenting with different quantizations and older model families can consume hundreds of gigabytes.
ollama list once a month to check file sizes and modification dates.ollama rm <model-name>:<tag>.ollama ps to see which models are currently loaded into your RAM or VRAM and how much memory they are occupying.| Cadence | Maintenance Action | Command / Reference |
|---|---|---|
| Weekly / Monthly | Run a bulk pull script to catch template fixes and quantization updates | ollama list \| ... \| ollama pull |
| Quarterly | Check the Ollama library for new model generations to replace older architectures | ollama pull <new-model>:<tag> |
| Periodically | Audit installed models and prune outdated weights to keep storage lean | ollama list, ollama rm, ollama ps |