commands.sh

ollama

all

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

More info →

Options (2)

boolean

List downloaded models

Example: ollama {{[ls|list]}}
-f, --fileboolean

Create a model from a `Modelfile`

Example: ollama create {{new_model_name}} {{[-f|--file]}} {{path/to/Modelfile}}

Examples (8)

Start the daemon required to run other commands

Run a model and chat with it

ollama run model

Run a model with a single prompt and thinking turned off

ollama run model --think=false "prompt"

List downloaded models

ollama [ls|list]

Pull a specific model

ollama pull model

List running models

Delete a model

ollama rm model

Create a model from a `Modelfile`

ollama create new_model_name [-f|--file] path/to/Modelfile
made by @shridhargupta | data from tldr-pages