[GH-ISSUE #1717] [Feature request] update models from CLI #972

Open
opened 2026-04-12 10:40:05 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @ThatOneCalculator on GitHub (Dec 26, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1717

When an update is available to an already installed model, something like ollama pull (without an argument) or ollama update would be great!

Originally created by @ThatOneCalculator on GitHub (Dec 26, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1717 When an update is available to an already installed model, something like `ollama pull` (without an argument) or `ollama update` would be great!
GiteaMirror added the feature request label 2026-04-12 10:40:05 -05:00
Author
Owner

@igorschlum commented on GitHub (Dec 26, 2023):

hi @ThatOneCalculator when an update is available, you can enter "ollama pull modelname"
In another issue, someone was asking to have the date of the release of the model and not the date of the pull when we ask for ollama list and yes it could be nice to type "ollama pull" and have all the models updated.

<!-- gh-comment-id:1869753456 --> @igorschlum commented on GitHub (Dec 26, 2023): hi @ThatOneCalculator when an update is available, you can enter "ollama pull modelname" In another issue, someone was asking to have the date of the release of the model and not the date of the pull when we ask for ollama list and yes it could be nice to type "ollama pull" and have all the models updated.
Author
Owner

@ThatOneCalculator commented on GitHub (Dec 26, 2023):

yes it could be nice to type "ollama pull" and have all the models updated.

Yep, that's what I was talking about

<!-- gh-comment-id:1869761183 --> @ThatOneCalculator commented on GitHub (Dec 26, 2023): > yes it could be nice to type "ollama pull" and have all the models updated. Yep, that's what I was talking about
Author
Owner

@ThatOneCalculator commented on GitHub (Dec 27, 2023):

Found exactly what I was looking for. Something like this in ollama's first-party CLI would be great! https://github.com/technovangelist/ollamamodelupdater

<!-- gh-comment-id:1869941550 --> @ThatOneCalculator commented on GitHub (Dec 27, 2023): Found exactly what I was looking for. Something like this in ollama's first-party CLI would be great! https://github.com/technovangelist/ollamamodelupdater
Author
Owner

@ThatOneCalculator commented on GitHub (Dec 27, 2023):

Actually, here's a much simpler way to do it in bash:

for model in $(ollama ls | tail -n +2 | awk -F ':' '{print $1}'); do ollama pull $model; done
<!-- gh-comment-id:1869944320 --> @ThatOneCalculator commented on GitHub (Dec 27, 2023): Actually, here's a much simpler way to do it in bash: ```sh for model in $(ollama ls | tail -n +2 | awk -F ':' '{print $1}'); do ollama pull $model; done ```
Author
Owner

@pdevine commented on GitHub (Jan 25, 2024):

I've submitted #2179

<!-- gh-comment-id:1911118807 --> @pdevine commented on GitHub (Jan 25, 2024): I've submitted #2179
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#972