Skip to content

riczescaran/ollama-update-models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ollama Update Models Script

This script contains updating models using the ollama CLI tool. The script automatically pulls the latest versions of all installed models.

Currently, Ollama CLI does not support updating models in bulk. This script is a workaround to update all models at once.

Requirements

  • Ollama installed on your machine.

Usage

Unix/Linux

  1. Set the script as executable.

    chmod +x update_models.sh
  2. Run the script.

    ./update_models.sh

Windows (Powershell)

  1. Run the script.

    .\update_models.ps1

    NOTE: By default, PowerShell may restrict script execution. To allow your script to run, you might need to adjust the execution policy. Open PowerShell as Administrator and run:

        Set-ExecutionPolicy Unrestricted

About

Update Ollama models in bulk.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published