{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "charmbracelet-crush--run-crush-on-a-local-ollama-model",
 "repo": "charmbracelet/crush",
 "repo_url": "https://github.com/charmbracelet/crush",
 "repo_slug": "charmbracelet-crush",
 "title": "Run Crush on a local Ollama model",
 "page_title": "How to run Crush on a local Ollama model with Crush",
 "summary": "Add Ollama as a provider in crushrc and register a model so Crush works fully offline.",
 "who": "A developer who wants a terminal coding agent on private code without cloud calls.",
 "problem": "Cloud models send your code off the machine and cost money per token.",
 "outcome": "Crush configured with an Ollama provider and model, using your local server.",
 "steps": [
  "Install Crush and run Ollama locally",
  "In a crushrc add the provider: `provider add ollama --type ollama --base-url \"http://localhost:11434/v1\"`",
  "Register the model: `model add ollama/llama3.3 --name \"Llama 3.3\" --context-window 128000`",
  "Optionally auto-approve safe tools with permissions allow view edit",
  "Start Crush and pick the Ollama model in the model picker"
 ],
 "agent_prompt": "Configure charmbracelet/crush to use my local Ollama server with a project crushrc that adds the ollama provider and registers <model>, then run a small refactor on <file> with it.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "20 minutes",
 "basis": "readme",
 "caveat": "crushrc and Crush.json are trusted code that run in a shell; never launch Crush in a directory whose config you have not reviewed.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "go",
 "requirements": [
  "A terminal on macOS, Linux, Windows, Android or BSD",
  "An LLM provider: Charm's Hyper subscription, an API key for Anthropic, OpenAI, Gemini or OpenRouter, or a local server such as Ollama"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/charmbracelet-crush/run-crush-on-a-local-ollama-model/",
 "md": "https://dedupedai.com/use-cases/charmbracelet-crush/run-crush-on-a-local-ollama-model/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/charmbracelet-crush--run-crush-on-a-local-ollama-model.json",
 "api_version": "v1"
}
