English translation
3 Steps to Deploy DeepSeek Locally
This guide focuses exclusively on the minimal, most direct path to success. On your first deployment, resist the urge to swap models, change ports, or integrate a knowledge base—first verify that ollama run deepseek-r1:1.5b works and produces correct responses. Only once this core loop is fully functional do subsequent extensions become meaningful—and measurable against a reliable baseline.
If a command fails, check in order:
- Whether Ollama is installed correctly;
- Whether the model name is spelled exactly right (e.g.,
deepseek-r1:1.5b); - Whether your terminal has network access (for downloading) or local filesystem permissions (for loading the model).
Do not jump straight to reinstalling your OS—or even Ollama itself. Many failures stem from simple oversights: e.g., forgetting to restart the terminal after installation, or launching ollama run before the model download completes.
Three Steps to Run DeepSeek Locally
You only need three straightforward steps to run DeepSeek locally and begin conversing with it.
Step 1: Use Ollama to manage large language models. Ollama is lightweight, intuitive, and installable with a single click. The installer walks you through mostly “Next” prompts—no complex configuration required.
If you’re unsure where to download it, simply reply ollama in the backend of my WeChat official account to receive the download link directly. You can scan the QR code below with your phone to access my WeChat account instantly:

After installation, open a command-line window (Terminal on macOS/Linux, Command Prompt or PowerShell on Windows), type ollama, and press Enter. You’ll see a list of ~10 built-in commands—enough to manage all your local LLMs effectively:

Step 2: In the same command window, run:
ollama pull deepseek-r1:1.5b
This downloads the deepseek-r1 model (1.5-billion-parameter version) directly to your machine:

At this point, the DeepSeek model is fully downloaded and ready on your local machine.
Step 3: Launch an interactive chat session by running:
ollama run deepseek-r1:1.5b
(Use Command Prompt on Windows; Terminal on macOS.) The interface will load quickly—ready for conversation:

Demo: Using DeepSeek Locally
Once the above setup is complete, try asking DeepSeek a question—for example: “Please help me analyze how to learn Python programming from scratch.”
Below is its response. Note the structured output: it begins with a think tag containing its internal reasoning process (not part of the formal reply):

When you see the closing think tag, the reasoning phase is complete—and the next line delivers the final, polished answer:

Continue