ollama Command Examples

A large language model runner. For a list of available models, see https://ollama.com/library. More information: https://github.com/ollama/ollama.

ollama serve

ollama run {{model}}

ollama run {{model}} {{prompt}}

ollama list

ollama pull {{model}}

ollama ps

ollama rm {{model}}

ollama create {{new_model_name}} -f {{path/to/Modelfile}}