# Run AI privately on your laptop

Recipe · https://godooo.ai/en/recipe/local-ai

> Run AI privately on your laptop in 4 steps: Ollama → LM Studio → Dify → Cline.

Nothing leaves your machine: chat, search your files and code offline.

## Steps

1. **[Ollama](https://godooo.ai/en/product/ollama)** — Install a runtime and pull a model ([Run models locally](https://godooo.ai/en/capability/local-inference))
2. **[LM Studio](https://godooo.ai/en/product/lm-studio)** — Compare models in a chat window ([Run models locally](https://godooo.ai/en/capability/local-inference))
3. **[Dify](https://godooo.ai/en/product/dify)** — Build a self-hosted knowledge base over your files ([Knowledge base (RAG)](https://godooo.ai/en/capability/knowledge-base))
4. **[Cline](https://godooo.ai/en/agent/cline)** — Code with your local model in VS Code ([Agentic coding](https://godooo.ai/en/capability/coding-agent))

- **Related:** [Run LLMs on your own computer](https://godooo.ai/en/goal/run-llm-locally)

---

Last updated 2026-09-24 · Markdown version of https://godooo.ai/en/recipe/local-ai. Every page on this site has one: add .md to its address.
