Skip to content

Instantly share code, notes, and snippets.

@emrekgn
Created June 3, 2026 10:06
Show Gist options
  • Select an option

  • Save emrekgn/a3089d0e299f95c323a4cc1fc8c6eea3 to your computer and use it in GitHub Desktop.

Select an option

Save emrekgn/a3089d0e299f95c323a4cc1fc8c6eea3 to your computer and use it in GitHub Desktop.
Ollama CLI commands cheatsheet

Ollama CLI commands

Replace <model with your specific model name (e.g. qwen3.5:latest, gemma3:4b etc.)

Download a model

ollama pull <model>

Download a model if missing & run it

ollama run <model>

List downloaded models

ollama list

List running models

ollama ps

Show model details

ollama show <model>

Stop a running model

ollama stop <model>

Remove a stopped model

ollama rm <model>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment