[GH-ISSUE #4883] Add Ollama config file #65117

Open
opened 2026-05-03 19:46:47 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @t18n on GitHub (Jun 6, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4883

I want to request a config file that allow user to manage models in the text form. This would allow us to sync in dotfiles, manage models very easily.

For example:

// ~/.config/ollama/config.yaml

models:
  - name: llama3
  - name: llama3:70b
  - name: mistral:7b

config:
  - name: mistral
       max_input_tokens: 32000

Then in terminal, you can just run ollama pull, it will automatically pull all listed models, or ollama purge to clean up and keep only models in the config file

Inspirations

https://asdf-vm.com/manage/configuration.html#tool-versions
https://mise.jdx.dev/configuration.html#mise-toml

Originally created by @t18n on GitHub (Jun 6, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4883 I want to request a config file that allow user to manage models in the text form. This would allow us to sync in dotfiles, manage models very easily. For example: ```yaml // ~/.config/ollama/config.yaml models: - name: llama3 - name: llama3:70b - name: mistral:7b config: - name: mistral max_input_tokens: 32000 ``` Then in terminal, you can just run `ollama pull`, it will automatically pull all listed models, or `ollama purge` to clean up and keep only models in the config file ## Inspirations https://asdf-vm.com/manage/configuration.html#tool-versions https://mise.jdx.dev/configuration.html#mise-toml
GiteaMirror added the feature request label 2026-05-03 19:46:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#65117