[GH-ISSUE #1286] Change enviroment-variables as settings to command parameters #662

Closed
opened 2026-04-12 10:21:05 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Talleyrand-34 on GitHub (Nov 27, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1286

Changethe method of configure settings

Instead of enviroment variables uses internal settings, at least as user interface.

Example

Instead of:

OLLAMA_MODELS=/path/to/file; ollama run model

Run:

ollama conf path_to_models /path/to/file
ollama run model

Or:

ollama run model -f /path/to/file

Originally created by @Talleyrand-34 on GitHub (Nov 27, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1286 ## Changethe method of configure settings Instead of enviroment variables uses internal settings, at least as user interface. ### Example Instead of: > OLLAMA_MODELS=/path/to/file; ollama run model Run: >ollama conf path_to_models /path/to/file >ollama run model Or: >ollama run model -f /path/to/file
GiteaMirror added the feature request label 2026-04-12 10:21:05 -05:00
Author
Owner

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

Thanks for the issue! For transparency for the time being Ollama will configure itself using environment variables. See https://github.com/ollama/ollama/blob/main/docs/faq.md#how-do-i-configure-ollama-server for some new docs on how to do that on each platform.

<!-- gh-comment-id:1953341196 --> @jmorganca commented on GitHub (Feb 20, 2024): Thanks for the issue! For transparency for the time being Ollama will configure itself using environment variables. See https://github.com/ollama/ollama/blob/main/docs/faq.md#how-do-i-configure-ollama-server for some new docs on how to do that on each platform.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#662