Beginner's Guide: How to Locally Deploy the DeepSeek LLM with Ollama from Scratch? (Full Step-by-Step Illustrated Guide)
This guide helps beginners decide whether their device is suitable for running a DeepSeek model locally with Ollama. Follow the timeline from checking compatibility and installing Ollama to downloading a model, testing a chat, and diagnosing common startup problems.
Yes—you can use Ollama to download and run a DeepSeek model on your own device, then confirm deployment by completing a test chat. First check your operating system, free disk space, and available device resources against current official guidance; no single model or experience suits every computer.
This week, check your system and choose a model tag before starting the download.
This guide is for:
- People trying Ollama and a local DeepSeek model for the first time.
- Developers checking whether their device is suitable for local inference.
- Ollama users who have downloaded a model but are unsure how to start or troubleshoot it.
Decide what “running locally” means before you install
Ollama is the software that helps you obtain and run a model. A typical workflow is to install Ollama, select a model from its library, download it, and start a local chat. The Ollama Quickstart describes setup options, while its DeepSeek-R1 model page lists a runnable model family and command.
This guide uses deepseek-r1 as a concrete example. That is a model tag listed in the official Ollama library, not a claim that every DeepSeek model is available under that name. Other DeepSeek entries and variants may use different tags. Check the current library entry before copying a command, especially if following an older tutorial.
The distinction matters: “DeepSeek” can refer to different models and variants, and Ollama model tags are exact identifiers. A typo or an outdated tag can lead to a model-not-found message even when Ollama itself installed correctly. The model page currently shows several DeepSeek-R1 variants, including deepseek-r1:1.5b, deepseek-r1:8b, and deepseek-r1:14b. Their listed artifact sizes are model download sizes—not a guarantee of the device memory needed while generating a response.
| Starting point | Listed model artifact size | Decision |
|---|---|---|
deepseek-r1:1.5b |
1.1 GB | Consider it as a smaller first download if storage or resources are a concern. |
deepseek-r1:8b |
5.2 GB | A larger download than the 1.5B option; check available storage and device resources before choosing it. |
deepseek-r1:14b |
9.0 GB | Requires more storage for the listed artifact; do not infer that the device can run it from disk space alone. |
These figures are the sizes shown in the official model tags listing. Model loading also uses resources beyond the downloaded file, and the prompt’s context length affects the workload. Treat the table as a download comparison, not a hardware compatibility chart.
Check the device before the first download
Confirm the basics before installing or pulling a model. The decision is not simply “Does Ollama support this operating system?” The selected model must also fit the device’s storage and available resources, and Ollama must be able to use the relevant CPU or GPU path.
- Check the operating system. Ollama’s download page provides installers for macOS, Windows, and Linux. Read the current platform-specific instructions rather than assuming every release or installation route has identical requirements. The current macOS download page, for example, lists macOS 14 Sonoma or later.
- Check free storage. Compare available disk space with the model’s listed artifact size, then leave room for the operating system, temporary download data, and other applications. A model file size is not the same as the total storage needed by the computer.
- Check memory and processing hardware. Review the Ollama hardware support documentation for GPU support and current requirements that apply to your setup. Do not turn a model’s parameter count or file size into a universal RAM recommendation; performance depends on the model, device, and workload.
- Check whether the device can stay available. A laptop that sleeps, runs low on battery, or is busy with other work may be a poor place to test a long response. Close unnecessary programs for the first trial and keep the device awake while the model loads.
To document the starting point, open the system’s About or System Information screen and note the operating system version, processor or chip, installed memory, and free storage. On Windows, use Settings and Task Manager; on macOS, use About This Mac and Storage settings; on Linux, use the desktop system information panel or terminal tools already installed. These checks record what is present; they do not certify that a particular model will run well.
Milestone: proceed when the operating system is supported, there is enough free storage for the chosen download, and the hardware guidance does not rule out your device.
[SCREENSHOT PLACEHOLDER — Alt: Operating system information and free storage visible before installing Ollama.]
Step one: Install Ollama from its official source
Use the installer for the operating system on which the model will run. Get it from the official Ollama download page, not an old file mirror or a command pasted from an unverified post. The published installation routes include a macOS download, a Linux install command, and a Windows PowerShell command. Check the page itself for the current installer and instructions.
- macOS: download and open the installer, follow its prompts, and start the Ollama app.
- Windows: download and run the installer, then open Ollama from the Start menu.
- Linux: follow the current Linux instructions on the official page. Its listed install command is
curl -fsSL https://ollama.com/install.sh | sh. Check the script source and read the installation guidance before running a shell command.
After installation, open a terminal or PowerShell window and enter:
ollama
The Quickstart directs users to download Ollama, open the app, or begin from the terminal. If the command is not recognized, close and reopen the terminal so it can reload the system path. If that does not help, confirm that installation completed and use the troubleshooting section below.
[SCREENSHOT PLACEHOLDER — Alt: Official Ollama download page with operating-system installer choices visible.]
Step two: Get the exact DeepSeek model tag
For the example in this guide, use the tag shown on the official DeepSeek-R1 model page:
ollama run deepseek-r1
This command requests the model and starts a chat session. If the model is not already present, Ollama downloads it first. A large download can take time, and the wait depends on network conditions and the selected model. Keep the terminal open while the command completes.
If you prefer to separate downloading from starting a chat, use:
ollama pull deepseek-r1
Then launch it with:
ollama run deepseek-r1
The first command fetches the selected model; the second opens it for interaction. You can also choose a variant listed in the model library, but change the tag only after verifying the spelling and current availability. Do not substitute a tag from a third-party example without checking it against the official listing.
[SCREENSHOT PLACEHOLDER — Alt: Terminal showing the exact ollama run deepseek-r1 command and a completed model download.]
Step three: Start a chat and verify the reply
When the model is ready, the terminal changes to an interactive prompt. Type a short test request, for example:
In one sentence, explain what a local language model is.
Press Enter and wait for a response. A successful test means the command ran, the model accepted the prompt, and generated text in the local session. The first load may take longer than later prompts; the time and responsiveness vary with the selected model and device. This guide does not promise a fixed startup time or generation speed.
When you want to leave the chat, enter:
/bye
To check whether the model is present on the device, open a separate terminal and run:
ollama list
To check which model is currently loaded and how Ollama is using system or GPU memory, run:
ollama ps
Ollama documents ollama ps as a way to inspect loaded models and the processor allocation shown in its output. Its FAQ also states that the default context window is 4,096 tokens; avoid treating that default as a model-specific performance guarantee.
A simple chat is a deployment check, not an accuracy or safety evaluation. If the answer is empty, garbled, or unexpectedly slow, repeat the test with a short prompt and check the runtime before drawing conclusions about the model.
[SCREENSHOT PLACEHOLDER — Alt: Interactive DeepSeek chat prompt followed by a visible response to a short test question.]
Step four: Diagnose problems from the simplest check upward
If a download or launch fails, change one thing at a time. This helps distinguish a wrong tag, incomplete download, storage issue, or runtime problem instead of assuming the cause.
- The model name is rejected: compare the exact text with the current Ollama library entry. Include the variant tag only if that exact variant is listed. Then retry the command.
- The download stops or fails: check the internet connection, available disk space, and whether the download has completed before retrying. If a partial or inconsistent state persists, follow current official guidance rather than deleting files at random.
- The command is not found: confirm that Ollama installed successfully, reopen the terminal, and try again. On systems where Ollama runs as a desktop app or background service, make sure that app or service is open.
- The model starts but does not respond: wait for loading to finish, try a short prompt, and close resource-heavy applications. Then inspect
ollama psand the logs. - The device freezes, runs out of resources, or becomes unusable: stop the session, restart the computer if needed, and retry with a smaller listed variant. A smaller file can be a more reasonable test, but it still does not guarantee a particular speed or quality.
Ollama’s official troubleshooting guide lists platform-specific log locations. On macOS, it documents cat ~/.ollama/logs/server.log; on Linux systems using systemd, it documents journalctl -u ollama --no-pager --follow --pager-end. On Windows, it describes opening the Ollama data folder through File Explorer. Check the guide for the current instructions for your operating system before using advanced fixes.
Avoid exposing Ollama’s local service to a public network as a quick fix. A local chat test does not require turning off security settings or opening network access. If the ordinary checks do not solve the issue, record the operating system, model tag, command, and relevant log message; that makes follow-up diagnosis more useful.
[SCREENSHOT PLACEHOLDER — Alt: Ollama model list and troubleshooting log location for the operating system in use.]
FAQ: Common first-run decisions
Can Ollama install and run a DeepSeek model from the terminal?
Yes. Install Ollama from its official download page, open it, then run a current model tag such as ollama run deepseek-r1. Ollama downloads the model if necessary and starts an interactive session when it is ready. Check the official library before using another DeepSeek variant, since a different model may require a different tag and download size.
What device conditions matter before local deployment?
Start with operating-system compatibility, free disk space, and the available memory and processing hardware. Compare the device with Ollama’s current hardware guidance and the chosen model’s library entry. The listed download size is only the artifact size; it does not tell you exactly how much memory inference will use or how responsive the model will feel on your computer.
How do you begin chatting after Ollama downloads the model?
If you used ollama run, wait until the interactive prompt appears, enter a simple question, and press Enter. If you used ollama pull separately, start a chat with ollama run and the same tag. A visible response confirms the basic path works. Enter /bye to exit, and use ollama list to check that the model is installed.
What should you check when a local model will not start?
Check the tag spelling, confirm that the download finished, and make sure the device has free storage. Restart Ollama and retry with a short command; if the problem remains, inspect the platform-specific server logs in Ollama’s troubleshooting guide. Resource limits are one possible factor, but logs and repeatable checks are more useful than guessing from one failed launch.
Mark the deployment complete before choosing what to do next
Use this completion list to record what worked:
- [ ] The operating system and device resources were checked against current official information.
- [ ] Ollama was installed from its official download source.
- [ ] The exact model tag was confirmed in the Ollama library.
- [ ] The download completed and the model appears in
ollama list. - [ ] A short prompt returned a response.
- [ ] The operating system, device details, model tag, and any error output were recorded for future reproduction or troubleshooting.
A local setup is a good fit when the device has adequate resources for the chosen model and occasional use on that machine is acceptable. Its trade-offs are real: model files consume local storage, inference competes with other work, and sleep, battery, or a busy computer can interrupt use. For frequent or long-running work, first decide whether tying up the personal device is acceptable.
If local hardware is the limiting factor and a separate macOS environment would suit the task, review the environment and remote-access details actually published in the RunMini Help Center before deciding. That page describes RunMini’s remote Mac environment and access methods; it does not confirm that a particular Ollama or DeepSeek model will run compatibly or at a particular speed. For AI workflows that involve more than a single chat, the AI agent guide may help clarify broader setup conditions. A RunMini Mac lease may be worth considering when the goal is to keep local hardware free and work in a separate remote Mac environment—but verify the published details against the intended model and workload before proceeding.
Further Reading
FAQ
How do you install Ollama and run a DeepSeek model?
Download Ollama from its official download page for your operating system, install and open it, then use its terminal command. For this guide's verified example, run `ollama run deepseek-r1`; Ollama downloads the model if it is not already present and opens an interactive chat when it is ready. Check the exact model tag in the official library before running a different variant.
What device conditions should you check before running DeepSeek through Ollama?
Check that your operating system is supported, that you have enough free disk space for the selected model download, and that your available memory and processor or GPU can support the workload. The published model file size is not a promise of the memory needed during inference. Compare your device with Ollama's current hardware guidance and start with a smaller model if you are unsure.
What should you do after Ollama finishes downloading the model?
Wait for the command to open the model prompt, then enter a simple request and confirm that a reply appears. At the prompt, enter `/bye` to exit. If you closed the session, run the same `ollama run` command again. Use `ollama list` to confirm the model is present and `ollama ps` to check whether Ollama has it loaded.
How can you troubleshoot a DeepSeek model that will not start in Ollama?
First check the spelling of the model tag and confirm the download completed. Then check free disk space, restart Ollama, and try the command again. If the model still fails, choose a smaller available variant and review the server logs for a specific error. Ollama's official troubleshooting guide lists platform-specific log locations; avoid changing GPU or service settings until the logs point to them.
Run DeepSeek on a Remote Mac
Rent a physical Mac Mini M4 from RunMini to test local AI inference without upgrading your personal computer. Choose 16GB or 24GB of memory to match your model and workload.