[GH-ISSUE #2602] Windows preview - please let us set the location where models are stored #1531

Closed
opened 2026-04-12 11:26:42 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @axefrog on GitHub (Feb 20, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2602

My drive C is a bit ancient right now. It's an old 250GB SSD and at any given time seems to have about 5-10gb free, so I'm forever doing cleanups to stop it running out of space. In contrast, I have about 2-3TB of free space on my other drives. I would much prefer it if ollama would store models on one of those drives. How much effort would it be to make that happen?

Originally created by @axefrog on GitHub (Feb 20, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2602 My drive C is a bit ancient right now. It's an old 250GB SSD and at any given time seems to have about 5-10gb free, so I'm forever doing cleanups to stop it running out of space. In contrast, I have about 2-3TB of free space on my other drives. I would _much_ prefer it if ollama would store models on one of those drives. How much effort would it be to make that happen?
Author
Owner

@jmorganca commented on GitHub (Feb 20, 2024):

Hi there, models are stored by default in ~/.ollama/models, however you can change that by setting OLLAMA_MODELS. The FAQ has some good instructions on this: https://github.com/ollama/ollama/blob/main/docs/faq.md#how-do-i-set-them-to-a-different-location for Windows specifically: https://github.com/ollama/ollama/blob/main/docs/faq.md#setting-environment-variables-on-windows

<!-- gh-comment-id:1953435940 --> @jmorganca commented on GitHub (Feb 20, 2024): Hi there, models are stored by default in `~/.ollama/models`, however you can change that by setting `OLLAMA_MODELS`. The FAQ has some good instructions on this: https://github.com/ollama/ollama/blob/main/docs/faq.md#how-do-i-set-them-to-a-different-location for Windows specifically: https://github.com/ollama/ollama/blob/main/docs/faq.md#setting-environment-variables-on-windows
Author
Owner

@axefrog commented on GitHub (Mar 6, 2024):

@jmorganca Thanks for the reply.

<!-- gh-comment-id:1981496889 --> @axefrog commented on GitHub (Mar 6, 2024): @jmorganca Thanks for the reply.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#1531