ThoughtsInWords

Local LLM Lifecycle: Mastering Model Management and Updates in Ollama

Date: November 15, 2026

Summary

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.


Key Points


1. Understanding Model Tags and Versioning

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).


2. Updating Individual Models

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.


3. Updating Your Entire Library at Once

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.

On Linux and macOS (Bash/Zsh)

ollama list | tail -n +2 | awk '{print $1}' | while read -r model; do ollama pull "$model"; done

On Windows (PowerShell)

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.


4. Maintaining Custom Modelfiles

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:

  1. Pull the updated base model:

    ollama pull hermes3:latest
    
  2. Rebuild your custom model using your saved configuration:

    ollama create my-custom-assistant -f ./Modelfile
    

5. Practicing Good Storage Hygiene

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.


Summary Checklist

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

References