{"id":3679,"date":"2025-03-20T12:22:42","date_gmt":"2025-03-20T09:22:42","guid":{"rendered":"https:\/\/blog.koddit.com\/?p=3679"},"modified":"2025-03-20T14:58:36","modified_gmt":"2025-03-20T11:58:36","slug":"how-to-install-deepseek-locally","status":"publish","type":"post","link":"https:\/\/blog.koddit.com\/en\/en\/how-to-install-deepseek-locally\/","title":{"rendered":"How to Install Deepseek Locally (Totally Free)"},"content":{"rendered":"<p>Before diving into how to install DeepSeek locally and run it for free, let&#8217;s briefly explain what DeepSeek really is.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What exactly is DeepSeek that people talk about?<\/h2>\n\n\n\n<p>Deepseek is an artificial intelligence tool developed by a Chinese team. It was originally built for data analysis and model training, especially used in the field of artificial intelligence and machine learning. It is simply a software miracle that we can ask questions about anything from food recipes to taking over the world. Just like ChatGPT\u2026 <strong>It&#8217;s basically a genie that answers everything.<\/strong><\/p>\n\n\n\n<p>Now you are thinking, \u201cDude, this is great! How can I run it on my own computer?\u201d<\/p>\n\n\n\n<p>Well, let\u2019s install it step by step and run DeepSeek on your machine locally. And the awesome thing is, it is totally free!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to install DeepSeek locally?<\/h2>\n\n\n\n<p>Using Ollama we can simplify the setup a lot. Ollama is a platform developed by Facebook that lets you run these models easily. Let&#8217;s get started!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Install Ollama<\/h2>\n\n\n\n<p>First, install Ollama on your system. If you are using Linux or Mac, open the terminal and do the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL https:\/\/ollama.com\/install.sh | sh<\/code><\/pre>\n\n\n\n<p>If you are using Windows, you can download and install it from here:&nbsp;<a href=\"https:\/\/ollama.com\/download\/OllamaSetup.exe\" target=\"_blank\" rel=\"noreferrer noopener\">Ollama Download<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Download Deepseek AI (Free)<\/h2>\n\n\n\n<p>Once the installation is complete, open a \u201cWindows command prompt\u201d and type this in (or type the following into your Linux\/Mac terminal):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ollama run deepseek-r1<\/code><\/pre>\n\n\n\n<p>This process may take a while because the model files are very large. A little patience is required.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/blog.koddit.com\/wp-content\/plugins\/wp-images-lazy-loading\/images\/grey.gif\" data-original=\"https:\/\/blog.koddit.com\/wp-content\/uploads\/2025\/03\/image-13-1024x575.png\" alt=\"How to Install Deepseek Locally\" class=\"lazy wp-image-3680\"\/><noscript><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/blog.koddit.com\/wp-content\/uploads\/2025\/03\/image-13-1024x575.png\" alt=\"How to Install Deepseek Locally\" class=\"wp-image-3680\" srcset=\"https:\/\/blog.koddit.com\/wp-content\/uploads\/2025\/03\/image-13-1024x575.png 1024w, https:\/\/blog.koddit.com\/wp-content\/uploads\/2025\/03\/image-13-300x168.png 300w, https:\/\/blog.koddit.com\/wp-content\/uploads\/2025\/03\/image-13-768x431.png 768w, https:\/\/blog.koddit.com\/wp-content\/uploads\/2025\/03\/image-13-18x10.png 18w, https:\/\/blog.koddit.com\/wp-content\/uploads\/2025\/03\/image-13.png 1114w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/noscript><\/figure>\n\n\n\n<p><em>Once the installation is complete, you&#8217;re done!<\/em>&nbsp;You can now chat with DeepSeek on your machine locally, by only typing into the open terminal. Quick and easy, right?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Can I Access DeepSeek API Locally?<\/h2>\n\n\n\n<p><strong>Warning:&nbsp;<\/strong><em>This part is for software developers. If you are not a software developer, you do not need to go into this detail. If you are not a software developer, it will be enough to chat with DeepSeek via the installation above.<\/em><\/p>\n\n\n\n<p>If you want to dig deeper and running DeepSeek locally in the terminal is not enough, you can easily integrate it into your own projects. For that, you can use the DeepSeek API, as in the example below.<\/p>\n\n\n\n<p>Sample Python POST request:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import requests\nimport json\n\nurl = \"<a href=\"http:\/\/localhost:11434\/api\/generate\">http:\/\/localhost:11434\/api\/generate<\/a>\"\ndata = {\n    \"model\": \"deepseek-r1\",\n    \"prompt\": \"How are you Deepseek?\",\n    \"stream\": false\n}\n\nresponse = requests.post(url, json=data)\nprint(response.json())<\/code><\/pre>\n\n\n\n<p>You can easily run DeepSeek API on your own machine using Ollama.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">So Can I Train DeepSeek Myself?<\/h2>\n\n\n\n<p>It is possible to train DeepSeek and have it respond according to your desired &#8220;context&#8221;. One option is to completely retrain a model, and the other is that you can customize an existing model and have it produce appropriate results. Training a model completely from scratch is a very difficult process, so modifying an existing model may be a more logical strategy. I will not go into the details of this in this article, but I plan to write an article about it in the future.<\/p>\n\n\n\n<p>That&#8217;s all for now. If you have any questions, please let me know in the comments and I&#8217;ll try to help as much as I can.<\/p>\n\n\n\n<p>For the lazy ones, here is a video on how to do it:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to install DeepSeek locally? (Under 1 minute)\" width=\"798\" height=\"449\" src=\"https:\/\/www.youtube.com\/embed\/Cv3ww0bbyAU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>Cheers!<\/p>","protected":false},"excerpt":{"rendered":"<p>Before diving into how to install DeepSeek locally and run it for free, let&#8217;s briefly explain what DeepSeek really is. What exactly is DeepSeek that people talk about? Deepseek is an artificial intelligence tool developed by a Chinese team. It was originally built for data analysis and model training, especially used in the field of [&hellip;]<\/p>","protected":false},"author":1,"featured_media":3681,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[268],"tags":[],"class_list":["post-3679","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install Deepseek Locally (Totally Free) - Koddit<\/title>\n<meta name=\"description\" content=\"How to Install Deepseek Locally? In this article we will help you run DeepSeek on your local machine easily and totally free.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Deepseek Locally (Totally Free) - Koddit\" \/>\n<meta property=\"og:description\" content=\"How to Install Deepseek Locally? In this article we will help you run DeepSeek on your local machine easily and totally free.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/\" \/>\n<meta property=\"og:site_name\" content=\"Koddit\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/r.caner.oncu\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-20T09:22:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-20T11:58:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.koddit.com\/wp-content\/uploads\/2025\/03\/image-13-1024x575.png\" \/>\n<meta name=\"author\" content=\"Caner \u00d6nc\u00fc\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/blog.koddit.com\/wp-content\/uploads\/2025\/03\/image-13-1024x575.png\" \/>\n<meta name=\"twitter:creator\" content=\"@caneroncu\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Caner \u00d6nc\u00fc\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/\"},\"author\":{\"name\":\"Caner \u00d6nc\u00fc\",\"@id\":\"https:\/\/blog.koddit.com\/#\/schema\/person\/475b7f34a5b2ec63447d0f5735829ff9\"},\"headline\":\"How to Install Deepseek Locally (Totally Free)\",\"datePublished\":\"2025-03-20T09:22:42+00:00\",\"dateModified\":\"2025-03-20T11:58:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/\"},\"wordCount\":526,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.koddit.com\/#organization\"},\"articleSection\":[\"English\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/\",\"url\":\"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/\",\"name\":\"How to Install Deepseek Locally (Totally Free) - Koddit\",\"isPartOf\":{\"@id\":\"https:\/\/blog.koddit.com\/#website\"},\"datePublished\":\"2025-03-20T09:22:42+00:00\",\"dateModified\":\"2025-03-20T11:58:36+00:00\",\"description\":\"How to Install Deepseek Locally? In this article we will help you run DeepSeek on your local machine easily and totally free.\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/blog.koddit.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Deepseek Locally (Totally Free)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.koddit.com\/#website\",\"url\":\"https:\/\/blog.koddit.com\/\",\"name\":\"Koddit\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\/\/blog.koddit.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.koddit.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/blog.koddit.com\/#organization\",\"name\":\"Koddit\",\"url\":\"https:\/\/blog.koddit.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.koddit.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blog.koddit.com\/wp-content\/uploads\/2023\/04\/koddit-logo.png\",\"contentUrl\":\"https:\/\/blog.koddit.com\/wp-content\/uploads\/2023\/04\/koddit-logo.png\",\"width\":\"176\",\"height\":\"65\",\"caption\":\"Koddit\"},\"image\":{\"@id\":\"https:\/\/blog.koddit.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.koddit.com\/#\/schema\/person\/475b7f34a5b2ec63447d0f5735829ff9\",\"name\":\"Caner \u00d6nc\u00fc\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.koddit.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0e4ad628f2a21b0fb77e910ee24545b7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0e4ad628f2a21b0fb77e910ee24545b7?s=96&d=mm&r=g\",\"caption\":\"Caner \u00d6nc\u00fc\"},\"sameAs\":[\"https:\/\/blog.koddit.com\",\"https:\/\/www.facebook.com\/r.caner.oncu\",\"https:\/\/twitter.com\/caneroncu\"],\"url\":\"https:\/\/blog.koddit.com\/en\/author\/caner\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Deepseek Locally (Totally Free) - Koddit","description":"How to Install Deepseek Locally? In this article we will help you run DeepSeek on your local machine easily and totally free.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Deepseek Locally (Totally Free) - Koddit","og_description":"How to Install Deepseek Locally? In this article we will help you run DeepSeek on your local machine easily and totally free.","og_url":"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/","og_site_name":"Koddit","article_author":"https:\/\/www.facebook.com\/r.caner.oncu","article_published_time":"2025-03-20T09:22:42+00:00","article_modified_time":"2025-03-20T11:58:36+00:00","og_image":[{"url":"https:\/\/blog.koddit.com\/wp-content\/uploads\/2025\/03\/image-13-1024x575.png"}],"author":"Caner \u00d6nc\u00fc","twitter_card":"summary_large_image","twitter_image":"https:\/\/blog.koddit.com\/wp-content\/uploads\/2025\/03\/image-13-1024x575.png","twitter_creator":"@caneroncu","twitter_misc":{"Written by":"Caner \u00d6nc\u00fc","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/#article","isPartOf":{"@id":"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/"},"author":{"name":"Caner \u00d6nc\u00fc","@id":"https:\/\/blog.koddit.com\/#\/schema\/person\/475b7f34a5b2ec63447d0f5735829ff9"},"headline":"How to Install Deepseek Locally (Totally Free)","datePublished":"2025-03-20T09:22:42+00:00","dateModified":"2025-03-20T11:58:36+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/"},"wordCount":526,"commentCount":0,"publisher":{"@id":"https:\/\/blog.koddit.com\/#organization"},"articleSection":["English"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/","url":"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/","name":"How to Install Deepseek Locally (Totally Free) - Koddit","isPartOf":{"@id":"https:\/\/blog.koddit.com\/#website"},"datePublished":"2025-03-20T09:22:42+00:00","dateModified":"2025-03-20T11:58:36+00:00","description":"How to Install Deepseek Locally? In this article we will help you run DeepSeek on your local machine easily and totally free.","breadcrumb":{"@id":"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.koddit.com\/en\/how-to-install-deepseek-locally\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/blog.koddit.com\/"},{"@type":"ListItem","position":2,"name":"How to Install Deepseek Locally (Totally Free)"}]},{"@type":"WebSite","@id":"https:\/\/blog.koddit.com\/#website","url":"https:\/\/blog.koddit.com\/","name":"Koddit","description":"Blog","publisher":{"@id":"https:\/\/blog.koddit.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.koddit.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/blog.koddit.com\/#organization","name":"Koddit","url":"https:\/\/blog.koddit.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.koddit.com\/#\/schema\/logo\/image\/","url":"https:\/\/blog.koddit.com\/wp-content\/uploads\/2023\/04\/koddit-logo.png","contentUrl":"https:\/\/blog.koddit.com\/wp-content\/uploads\/2023\/04\/koddit-logo.png","width":"176","height":"65","caption":"Koddit"},"image":{"@id":"https:\/\/blog.koddit.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/blog.koddit.com\/#\/schema\/person\/475b7f34a5b2ec63447d0f5735829ff9","name":"Caner \u00d6nc\u00fc","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.koddit.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0e4ad628f2a21b0fb77e910ee24545b7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0e4ad628f2a21b0fb77e910ee24545b7?s=96&d=mm&r=g","caption":"Caner \u00d6nc\u00fc"},"sameAs":["https:\/\/blog.koddit.com","https:\/\/www.facebook.com\/r.caner.oncu","https:\/\/twitter.com\/caneroncu"],"url":"https:\/\/blog.koddit.com\/en\/author\/caner\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.koddit.com\/en\/wp-json\/wp\/v2\/posts\/3679"}],"collection":[{"href":"https:\/\/blog.koddit.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.koddit.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.koddit.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.koddit.com\/en\/wp-json\/wp\/v2\/comments?post=3679"}],"version-history":[{"count":3,"href":"https:\/\/blog.koddit.com\/en\/wp-json\/wp\/v2\/posts\/3679\/revisions"}],"predecessor-version":[{"id":3684,"href":"https:\/\/blog.koddit.com\/en\/wp-json\/wp\/v2\/posts\/3679\/revisions\/3684"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.koddit.com\/en\/wp-json\/wp\/v2\/media\/3681"}],"wp:attachment":[{"href":"https:\/\/blog.koddit.com\/en\/wp-json\/wp\/v2\/media?parent=3679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.koddit.com\/en\/wp-json\/wp\/v2\/categories?post=3679"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.koddit.com\/en\/wp-json\/wp\/v2\/tags?post=3679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}