{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "ollama-ollama--run-open-model-locally-one-command",
 "repo": "ollama/ollama",
 "repo_url": "https://github.com/ollama/ollama",
 "repo_slug": "ollama-ollama",
 "title": "Run an open model on your machine in one command",
 "page_title": "How to run a local LLM with Ollama in one command",
 "summary": "Install Ollama and chat with a model like Gemma from the terminal.",
 "who": "A developer who wants to try open models privately.",
 "problem": "Setting up local inference is usually fiddly.",
 "outcome": "A local model answering in your terminal.",
 "steps": [
  "Install with `curl -fsSL https://ollama.com/install.sh | sh` (or `irm https://ollama.com/install.ps1 | iex` on Windows)",
  "Run `ollama run gemma4`",
  "Chat in the terminal",
  "Try other models from the library"
 ],
 "agent_prompt": "Install ollama/ollama, run `ollama run gemma4`, and ask <question>. Confirm the answer was generated locally.",
 "agents": [
  "any"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "Model download size and speed depend on the model and your hardware.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "go",
 "requirements": [
  "macOS, Windows, Linux or Docker",
  "Enough RAM or VRAM for the model you pick"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "remote-script",
   "notice": "The Linux and macOS install pipes a script into sh; the manual download is an alternative."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/ollama-ollama/run-open-model-locally-one-command/",
 "md": "https://dedupedai.com/use-cases/ollama-ollama/run-open-model-locally-one-command/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/ollama-ollama--run-open-model-locally-one-command.json",
 "api_version": "v1"
}
