[GH-ISSUE #803] Feature request: pull multiple models with ollama pull #62422

Closed
opened 2026-05-03 08:53:16 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @rickknowles-cognitant on GitHub (Oct 16, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/803

Would it be possible to request a feature allowing you to do the following on the command line:

ollama pull mistral falcon orca-mini

instead of having to do:

ollama pull mistral
ollama pull falcon
ollama pull orca-mini

Not a huge deal but it feels fairly natural to do this sort of approach for anyone using dev-ops or scripting heavy deployments. Thanks

(EDIT: at the moment it simply ignores the falcon and orca-mini in the first example and reports success, which is arguably a small bug)

Originally created by @rickknowles-cognitant on GitHub (Oct 16, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/803 Would it be possible to request a feature allowing you to do the following on the command line: ```ollama pull mistral falcon orca-mini``` instead of having to do: ``` ollama pull mistral ollama pull falcon ollama pull orca-mini ``` Not a huge deal but it feels fairly natural to do this sort of approach for anyone using dev-ops or scripting heavy deployments. Thanks (EDIT: at the moment it simply ignores the falcon and orca-mini in the first example and reports success, which is arguably a small bug)
Author
Owner

@mxyng commented on GitHub (Oct 25, 2023):

Ignoring the rest of the parameters is a bug and has been fixed in #841.

As for pulling multiple models, there's currently no plans but there are ways to achieve the same using bash:

echo mistral falcon orca-mini | xargs -n1 ollama pull
for model in mistral falcon orca-mini; do ollama pull $model; done
<!-- gh-comment-id:1779945130 --> @mxyng commented on GitHub (Oct 25, 2023): Ignoring the rest of the parameters is a bug and has been fixed in #841. As for pulling multiple models, there's currently no plans but there are ways to achieve the same using bash: ```bash echo mistral falcon orca-mini | xargs -n1 ollama pull ``` ```bash for model in mistral falcon orca-mini; do ollama pull $model; done ```
Author
Owner

@purificant commented on GitHub (Mar 30, 2024):

To update all downloaded models:

ollama list | tail -n +2 | cut -f1 | xargs -n1 ollama pull
<!-- gh-comment-id:2028020914 --> @purificant commented on GitHub (Mar 30, 2024): To update all downloaded models: ```bash ollama list | tail -n +2 | cut -f1 | xargs -n1 ollama pull ```
Author
Owner

@suizideFloat commented on GitHub (Sep 16, 2024):

To update all downloaded models:

ollama list | tail -n +2 | cut -f1 | xargs -n1 ollama pull

Is this downloading all models again or just the ones that actually got updated?

<!-- gh-comment-id:2352875035 --> @suizideFloat commented on GitHub (Sep 16, 2024): > To update all downloaded models: > > ```shell > ollama list | tail -n +2 | cut -f1 | xargs -n1 ollama pull > ``` Is this downloading all models again or just the ones that actually got updated?
Author
Owner

@fallenreaper commented on GitHub (Jun 17, 2025):

@suizideFloat When I attempted to run it, it seemed like it pulled pulled updates. It didnt seem to redownload.
That said, I prefer something like this:

for item in $(ollama list | cut -d" " -f1); do ollama pull $item; done;

which will loop through all the items and attempt to repull them as needed.

<!-- gh-comment-id:2981752884 --> @fallenreaper commented on GitHub (Jun 17, 2025): @suizideFloat When I attempted to run it, it seemed like it pulled pulled updates. It didnt seem to redownload. That said, I prefer something like this: ```shell for item in $(ollama list | cut -d" " -f1); do ollama pull $item; done; ``` which will loop through all the items and attempt to repull them as needed.
Author
Owner

@iamthekwan commented on GitHub (Aug 29, 2025):

Use && instead. Just copypaste into cmd:

ollama pull mistral && ollama pull falcon && ollama pull orca-mini

<!-- gh-comment-id:3237920551 --> @iamthekwan commented on GitHub (Aug 29, 2025): Use && instead. Just copypaste into cmd: `ollama pull mistral && ollama pull falcon && ollama pull orca-mini`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#62422