{"id":103,"date":"2026-10-04T11:57:29","date_gmt":"2026-10-04T08:57:29","guid":{"rendered":"https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/"},"modified":"2026-10-04T11:57:29","modified_gmt":"2026-10-04T08:57:29","slug":"ollama-tutorial-download-serve-local-llm","status":"publish","type":"post","link":"https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/","title":{"rendered":"\u062a\u0634\u063a\u064a\u0644 \u0646\u0645\u0648\u0630\u062c \u0644\u063a\u0648\u064a \u0645\u062d\u0644\u064a\u064b\u0627 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Ollama: \u0627\u0644\u062a\u062b\u0628\u064a\u062a \u0648\u0627\u0644\u062a\u0646\u0632\u064a\u0644 \u0648\u062a\u0642\u062f\u064a\u0645\u0647 \u0639\u0628\u0631 API"},"content":{"rendered":"<div class=\"tech-layers-localized\" data-no-translation><h2>\u0645\u0627 \u0627\u0644\u0630\u064a \u0633\u062a\u062a\u0639\u0644\u0645\u0647\u061f<\/h2>\n<p>\u0633\u062a\u062a\u0639\u0644\u0645 \u062a\u0646\u0632\u064a\u0644 \u0646\u0645\u0648\u0630\u062c \u0644\u063a\u0648\u064a \u0648\u062a\u0634\u063a\u064a\u0644\u0647 \u0639\u0644\u0649 \u062c\u0647\u0627\u0632\u0643\u060c \u062b\u0645 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0637\u0644\u0628\u0627\u062a \u0625\u0644\u064a\u0647 \u0645\u0646 \u0627\u0644\u0637\u0631\u0641\u064a\u0629 \u0648\u0639\u0628\u0631 \u0648\u0627\u062c\u0647\u0629 HTTP. \u064a\u0648\u0641\u0631 Ollama \u0628\u064a\u0626\u0629 \u0627\u0644\u062a\u0634\u063a\u064a\u0644 \u0648\u0627\u0644\u062e\u0627\u062f\u0645\u060c \u0628\u064a\u0646\u0645\u0627 \u064a\u0648\u0641\u0631 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u0642\u062f\u0631\u0627\u062a \u062a\u0648\u0644\u064a\u062f \u0627\u0644\u0646\u0635\u0648\u0635. \u0644\u0627 \u062a\u062a\u0637\u0644\u0628 \u0627\u0644\u0646\u0645\u0627\u0630\u062c \u0627\u0644\u0645\u062d\u0644\u064a\u0629 \u0645\u0641\u062a\u0627\u062d API \u0645\u0646 Ollama. <a href=\"https:\/\/docs.ollama.com\/quickstart\">\u062f\u0644\u064a\u0644 \u0627\u0644\u0628\u062f\u0621<\/a><\/p>\n<p>\u0633\u0646\u0633\u062a\u062e\u062f\u0645 <code>llama3.2:1b<\/code>\u060c \u0648\u0647\u0648 \u0646\u0645\u0648\u0630\u062c \u0646\u0635\u064a \u0628\u0645\u0644\u064a\u0627\u0631 \u0645\u0639\u0644\u0645\u0629 \u0645\u0646 \u0639\u0627\u0626\u0644\u0629 Llama 3.2. \u062a\u062d\u062f\u064a\u062f \u0627\u0644\u0648\u0633\u0645 \u064a\u062c\u0639\u0644 \u0627\u0633\u0645 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u062b\u0627\u0628\u062a\u064b\u0627 \u0641\u064a \u0627\u0644\u0623\u0645\u062b\u0644\u0629. \u0647\u0630\u0627 \u0627\u062e\u062a\u064a\u0627\u0631 \u0644\u062a\u0639\u0644\u0645 \u062e\u0637\u0648\u0627\u062a \u0627\u0644\u062a\u0634\u063a\u064a\u0644\u060c \u0648\u0644\u0627 \u064a\u0636\u0645\u0646 \u062f\u0642\u0629 \u0627\u0644\u0625\u062c\u0627\u0628\u0627\u062a. \u0631\u0627\u062c\u0639 \u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0627\u0644\u062a\u0646\u0632\u064a\u0644 \u0648\u0627\u0644\u062a\u0631\u062e\u064a\u0635 \u0641\u064a <a href=\"https:\/\/ollama.com\/library\/llama3.2:1b\">\u0635\u0641\u062d\u0629 \u0627\u0644\u0646\u0645\u0648\u0630\u062c<\/a>.<\/p>\n<p>\u062a\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u0637\u0631\u0641\u064a\u0629 \u0648\u0627\u062a\u0635\u0627\u0644 \u0628\u0627\u0644\u0625\u0646\u062a\u0631\u0646\u062a \u0644\u0644\u062a\u062b\u0628\u064a\u062a \u0648\u0627\u0644\u062a\u0646\u0632\u064a\u0644 \u0627\u0644\u0623\u0648\u0644\u060c \u0648\u0645\u0633\u0627\u062d\u0629 \u062a\u062e\u0632\u064a\u0646 \u0648\u0630\u0627\u0643\u0631\u0629 \u0643\u0627\u0641\u064a\u062a\u064a\u0646. \u062d\u062c\u0645 \u0645\u0644\u0641 \u0627\u0644\u062a\u0646\u0632\u064a\u0644 \u064a\u062e\u062a\u0644\u0641 \u0639\u0646 \u0627\u0644\u0630\u0627\u0643\u0631\u0629 \u0627\u0644\u0644\u0627\u0632\u0645\u0629 \u0644\u0644\u062a\u0634\u063a\u064a\u0644\u060c \u0648\u062a\u062a\u0623\u062b\u0631 \u0627\u0644\u0633\u0631\u0639\u0629 \u0628\u0639\u062a\u0627\u062f \u0627\u0644\u062c\u0647\u0627\u0632 \u0648\u0637\u0648\u0644 \u0627\u0644\u0645\u062f\u062e\u0644\u0627\u062a.<\/p>\n<h2>1. \u062a\u062b\u0628\u064a\u062a Ollama<\/h2>\n<p><strong>Windows \u0648macOS:<\/strong> \u0646\u0632\u0651\u0644 \u0627\u0644\u0645\u062b\u0628\u0651\u062a \u0645\u0646 <a href=\"https:\/\/ollama.com\/download\">\u0645\u0648\u0642\u0639 Ollama<\/a>\u060c \u062b\u0645 \u062b\u0628\u0651\u062a \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0648\u0627\u0641\u062a\u062d\u0647. \u0627\u0641\u062a\u062d \u0646\u0627\u0641\u0630\u0629 PowerShell \u062c\u062f\u064a\u062f\u0629 \u0639\u0644\u0649 Windows \u0623\u0648 Terminal \u0639\u0644\u0649 macOS.<\/p>\n<p><strong>Linux:<\/strong> \u0627\u0633\u062a\u062e\u062f\u0645 \u0623\u0645\u0631 \u0627\u0644\u062a\u062b\u0628\u064a\u062a \u0627\u0644\u0631\u0633\u0645\u064a:<\/p>\n<pre><code class=\"language-bash\">curl -fsSL https:\/\/ollama.com\/install.sh | sh\n<\/code><\/pre>\n<p>\u064a\u0646\u0632\u0651\u0644 \u0647\u0630\u0627 \u0627\u0644\u0623\u0645\u0631 \u0646\u0635 \u0627\u0644\u062a\u062b\u0628\u064a\u062a \u0648\u064a\u0646\u0641\u0630\u0647. \u064a\u0645\u0643\u0646\u0643 \u0641\u062d\u0635 \u0645\u062d\u062a\u0648\u0627\u0647 \u0639\u0628\u0631 \u0627\u0644\u0631\u0627\u0628\u0637 \u0642\u0628\u0644 \u062a\u0634\u063a\u064a\u0644\u0647. \u0639\u0644\u0649 \u062c\u0647\u0627\u0632 Linux \u064a\u0633\u062a\u062e\u062f\u0645 systemd\u060c \u0634\u063a\u0651\u0644 \u0627\u0644\u062e\u062f\u0645\u0629 \u0648\u062a\u062d\u0642\u0642 \u0645\u0646 \u062d\u0627\u0644\u062a\u0647\u0627:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl start ollama\nsudo systemctl status ollama\n<\/code><\/pre>\n<p>\u0631\u0627\u062c\u0639 <a href=\"https:\/\/docs.ollama.com\/linux\">\u062f\u0644\u064a\u0644 Linux<\/a> \u0644\u0644\u062a\u062b\u0628\u064a\u062a \u0627\u0644\u064a\u062f\u0648\u064a \u0648\u0625\u0639\u062f\u0627\u062f \u0627\u0644\u062e\u062f\u0645\u0629. \u062a\u062d\u0642\u0642 \u0623\u064a\u0636\u064b\u0627 \u0645\u0646 \u062a\u0648\u0641\u0631 \u0627\u0644\u0623\u0645\u0631 \u0641\u064a \u0627\u0644\u0637\u0631\u0641\u064a\u0629:<\/p>\n<pre><code class=\"language-text\">ollama --version\n<\/code><\/pre>\n<h2>2. \u0627\u0644\u062a\u0623\u0643\u062f \u0645\u0646 \u062a\u0634\u063a\u064a\u0644 \u0627\u0644\u062e\u0627\u062f\u0645<\/h2>\n<p>\u0642\u062f \u064a\u0643\u0648\u0646 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0623\u0648 \u062e\u062f\u0645\u0629 Linux \u0642\u062f \u0634\u063a\u0651\u0644 \u0627\u0644\u062e\u0627\u062f\u0645 \u0628\u0627\u0644\u0641\u0639\u0644. \u0644\u062a\u0634\u063a\u064a\u0644\u0647 \u064a\u062f\u0648\u064a\u064b\u0627\u060c \u0627\u0633\u062a\u062e\u062f\u0645:<\/p>\n<pre><code class=\"language-text\">ollama serve\n<\/code><\/pre>\n<p>\u0627\u062a\u0631\u0643 \u0647\u0630\u0647 \u0627\u0644\u0637\u0631\u0641\u064a\u0629 \u0645\u0641\u062a\u0648\u062d\u0629\u060c \u0648\u0627\u0633\u062a\u062e\u062f\u0645 \u0637\u0631\u0641\u064a\u0629 \u062b\u0627\u0646\u064a\u0629 \u0644\u0644\u0623\u0648\u0627\u0645\u0631 \u0627\u0644\u062a\u0627\u0644\u064a\u0629. \u0625\u0630\u0627 \u0638\u0647\u0631\u062a \u0631\u0633\u0627\u0644\u0629 \u062a\u0641\u064a\u062f \u0628\u0623\u0646 \u0627\u0644\u0639\u0646\u0648\u0627\u0646 \u0645\u0633\u062a\u062e\u062f\u0645\u060c \u0627\u0641\u062d\u0635 \u0627\u0644\u062e\u0627\u062f\u0645 \u0627\u0644\u0645\u0648\u062c\u0648\u062f \u0642\u0628\u0644 \u0645\u062d\u0627\u0648\u0644\u0629 \u062a\u0634\u063a\u064a\u0644 \u0646\u0633\u062e\u0629 \u0623\u062e\u0631\u0649. <a href=\"https:\/\/docs.ollama.com\/cli\">\u0645\u0631\u062c\u0639 \u0627\u0644\u0623\u0648\u0627\u0645\u0631<\/a><\/p>\n<p>\u064a\u0631\u062a\u0628\u0637 Ollama \u0627\u0641\u062a\u0631\u0627\u0636\u064a\u064b\u0627 \u0628\u0627\u0644\u0639\u0646\u0648\u0627\u0646 <code>127.0.0.1:11434<\/code>. \u0633\u0646\u0628\u0642\u064a \u0627\u0644\u062e\u062f\u0645\u0629 \u0645\u062d\u0644\u064a\u0629 \u0639\u0644\u0649 \u062c\u0647\u0627\u0632\u0643. <a href=\"https:\/\/docs.ollama.com\/faq\">\u0625\u0639\u062f\u0627\u062f \u0627\u0644\u062e\u0627\u062f\u0645<\/a><\/p>\n<p>\u0644\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0648\u0627\u062c\u0647\u0629 API \u0639\u0644\u0649 macOS \u0623\u0648 Linux:<\/p>\n<pre><code class=\"language-bash\">curl http:\/\/localhost:11434\/api\/tags\n<\/code><\/pre>\n<p>\u0648\u0639\u0644\u0649 Windows PowerShell:<\/p>\n<pre><code class=\"language-powershell\">Invoke-RestMethod -Uri &#039;http:\/\/localhost:11434\/api\/tags&#039;\n<\/code><\/pre>\n<p>\u062a\u0639\u064a\u062f \u0647\u0630\u0647 \u0627\u0644\u0648\u0627\u062c\u0647\u0629 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0646\u0645\u0627\u0630\u062c \u0627\u0644\u0645\u0646\u0632\u0651\u0644\u0629. \u0648\u062c\u0648\u062f \u0642\u0627\u0626\u0645\u0629 \u0641\u0627\u0631\u063a\u0629 \u0642\u0628\u0644 \u062a\u0646\u0632\u064a\u0644 \u0623\u0648\u0644 \u0646\u0645\u0648\u0630\u062c \u0623\u0645\u0631 \u0637\u0628\u064a\u0639\u064a. <a href=\"https:\/\/docs.ollama.com\/api\/tags\">\u0648\u0627\u062c\u0647\u0629 \u0639\u0631\u0636 \u0627\u0644\u0646\u0645\u0627\u0630\u062c<\/a><\/p>\n<h2>3. \u062a\u0646\u0632\u064a\u0644 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u0648\u0627\u0644\u0645\u062d\u0627\u062f\u062b\u0629 \u0645\u0639\u0647<\/h2>\n<p>\u0646\u0641\u0651\u0630 \u0627\u0644\u0623\u0648\u0627\u0645\u0631 \u0627\u0644\u062a\u0627\u0644\u064a\u0629:<\/p>\n<pre><code class=\"language-text\">ollama pull llama3.2:1b\nollama list\nollama run llama3.2:1b\n<\/code><\/pre>\n<p>\u064a\u0646\u0632\u0651\u0644 <code>pull<\/code> \u0627\u0644\u0646\u0645\u0648\u0630\u062c\u060c \u0648\u064a\u0639\u0631\u0636 <code>list<\/code> \u0627\u0644\u0646\u0645\u0627\u0630\u062c \u0627\u0644\u0645\u062b\u0628\u062a\u0629\u060c \u0648\u064a\u0641\u062a\u062d <code>run<\/code> \u0645\u062d\u0627\u062f\u062b\u0629 \u062a\u0641\u0627\u0639\u0644\u064a\u0629. \u062c\u0631\u0651\u0628 \u0647\u0630\u0627 \u0627\u0644\u0637\u0644\u0628:<\/p>\n<pre><code class=\"language-text\">Explain what an HTTP API is to a beginner, in three sentences.\n<\/code><\/pre>\n<p>\u0627\u0643\u062a\u0628 <code>\/bye<\/code> \u0644\u0644\u062e\u0631\u0648\u062c \u0645\u0646 \u0627\u0644\u0645\u062d\u0627\u062f\u062b\u0629. \u0627\u0644\u062e\u0631\u0648\u062c \u0644\u0627 \u064a\u0648\u0642\u0641 \u0627\u0644\u062e\u0627\u062f\u0645 \u0627\u0644\u0630\u064a \u064a\u0639\u0645\u0644 \u0628\u0634\u0643\u0644 \u0645\u0633\u062a\u0642\u0644. \u064a\u0645\u0643\u0646\u0643 \u0641\u062d\u0635 \u0627\u0644\u0646\u0645\u0627\u0630\u062c \u0627\u0644\u0645\u062d\u0645\u0651\u0644\u0629 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 <code>ollama ps<\/code>. <a href=\"https:\/\/docs.ollama.com\/cli\">\u0645\u0631\u062c\u0639 \u0627\u0644\u0623\u0648\u0627\u0645\u0631<\/a>\u060c <a href=\"https:\/\/docs.ollama.com\/quickstart\">\u062f\u0644\u064a\u0644 \u0627\u0644\u0628\u062f\u0621<\/a><\/p>\n<h2>4. \u062a\u0642\u062f\u064a\u0645 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u0639\u0628\u0631 HTTP<\/h2>\n<p>\u0627\u0644\u062e\u0627\u062f\u0645 \u0627\u0644\u0630\u064a \u0634\u063a\u0651\u0644\u062a\u0647 \u064a\u062a\u064a\u062d \u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u0627\u0644\u0645\u0646\u0632\u0651\u0644 \u0628\u0627\u0644\u0641\u0639\u0644. \u064a\u062d\u062f\u062f \u062a\u0637\u0628\u064a\u0642\u0643 \u0627\u0633\u0645 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u0641\u064a \u0627\u0644\u0637\u0644\u0628\u060c \u0648\u0644\u0627 \u062a\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u062a\u0634\u063a\u064a\u0644 \u062e\u0627\u062f\u0645 \u0645\u0646\u0641\u0635\u0644 \u0644\u0643\u0644 \u0646\u0645\u0648\u0630\u062c.<\/p>\n<p>\u0639\u0644\u0649 macOS \u0623\u0648 Linux:<\/p>\n<pre><code class=\"language-bash\">curl http:\/\/localhost:11434\/api\/generate \n  -H &#039;Content-Type: application\/json&#039; \n  -d &#039;{&quot;model&quot;:&quot;llama3.2:1b&quot;,&quot;prompt&quot;:&quot;Explain local AI in three sentences.&quot;,&quot;stream&quot;:false}&#039;\n<\/code><\/pre>\n<p>\u0648\u0639\u0644\u0649 Windows PowerShell\u060c \u0623\u0646\u0634\u0626 JSON \u0635\u0631\u0627\u062d\u0629\u064b:<\/p>\n<pre><code class=\"language-powershell\">$payload = @{\n    model = &#039;llama3.2:1b&#039;\n    prompt = &#039;Explain local AI in three sentences.&#039;\n    stream = $false\n} | ConvertTo-Json\n\n$result = Invoke-RestMethod `\n    -Uri &#039;http:\/\/localhost:11434\/api\/generate&#039; `\n    -Method Post `\n    -ContentType &#039;application\/json&#039; `\n    -Body $payload\n\n$result.response\n<\/code><\/pre>\n<p>\u062a\u0637\u0644\u0628 \u0627\u0644\u0642\u064a\u0645\u0629 <code>stream: false<\/code> \u0627\u0633\u062a\u062c\u0627\u0628\u0629 JSON \u0648\u0627\u062d\u062f\u0629 \u0628\u062f\u0644\u064b\u0627 \u0645\u0646 \u0627\u0644\u0625\u062e\u0631\u0627\u062c \u0627\u0644\u0645\u062a\u062f\u0641\u0642 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a. \u064a\u062d\u062a\u0648\u064a \u0627\u0644\u062d\u0642\u0644 <code>response<\/code> \u0639\u0644\u0649 \u0627\u0644\u0646\u0635 \u0627\u0644\u0645\u0648\u0644\u0651\u062f\u060c \u0648\u064a\u0634\u064a\u0631 <code>done<\/code> \u0625\u0644\u0649 \u0627\u0643\u062a\u0645\u0627\u0644 \u0627\u0644\u062a\u0648\u0644\u064a\u062f. \u0642\u062f \u062a\u062e\u062a\u0644\u0641 \u0635\u064a\u0627\u063a\u0629 \u0627\u0644\u0625\u062c\u0627\u0628\u0629 \u0628\u064a\u0646 \u0627\u0644\u0637\u0644\u0628\u0627\u062a. <a href=\"https:\/\/docs.ollama.com\/api\/generate\">\u0648\u0627\u062c\u0647\u0629 \u0627\u0644\u062a\u0648\u0644\u064a\u062f<\/a><\/p>\n<h2>5. \u0627\u0633\u062a\u062f\u0639\u0627\u0621 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u0645\u0646 Python<\/h2>\n<p>\u0627\u062d\u0641\u0638 \u0627\u0644\u0645\u062b\u0627\u0644 \u0627\u0644\u062a\u0627\u0644\u064a \u0628\u0627\u0633\u0645 <code>local_llm.py<\/code>. \u064a\u0633\u062a\u062e\u062f\u0645 \u0645\u0643\u062a\u0628\u0629 Python \u0627\u0644\u0642\u064a\u0627\u0633\u064a\u0629 \u0648\u0644\u0627 \u064a\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u062a\u062b\u0628\u064a\u062a \u062d\u0632\u0645 \u0625\u0636\u0627\u0641\u064a\u0629:<\/p>\n<pre><code class=\"language-python\">import json\nfrom urllib.request import Request, urlopen\n\npayload = {\n    &quot;model&quot;: &quot;llama3.2:1b&quot;,\n    &quot;prompt&quot;: &quot;Give me three ideas for a beginner Python project.&quot;,\n    &quot;stream&quot;: False,\n}\n\nrequest = Request(\n    &quot;http:\/\/localhost:11434\/api\/generate&quot;,\n    data=json.dumps(payload).encode(&quot;utf-8&quot;),\n    headers={&quot;Content-Type&quot;: &quot;application\/json&quot;},\n    method=&quot;POST&quot;,\n)\n\nwith urlopen(request, timeout=300) as response:\n    result = json.load(response)\n\nprint(result[&quot;response&quot;])\n<\/code><\/pre>\n<p>\u0634\u063a\u0651\u0644\u0647 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 <code>python local_llm.py<\/code> \u0623\u0648 <code>python3 local_llm.py<\/code> \u0628\u062d\u0633\u0628 \u0625\u0639\u062f\u0627\u062f \u062c\u0647\u0627\u0632\u0643\u060c \u0645\u0639 \u0625\u0628\u0642\u0627\u0621 Ollama \u0642\u064a\u062f \u0627\u0644\u062a\u0634\u063a\u064a\u0644. \u062a\u0633\u0645\u062d \u0627\u0644\u0645\u0647\u0644\u0629 \u0627\u0644\u0637\u0648\u064a\u0644\u0629 \u0628\u0627\u0633\u062a\u064a\u0639\u0627\u0628 \u0628\u0637\u0621 \u0627\u0644\u0637\u0644\u0628 \u0627\u0644\u0623\u0648\u0644\u060c \u0648\u064a\u0645\u0643\u0646 \u062a\u0639\u062f\u064a\u0644\u0647\u0627 \u0648\u0641\u0642 \u062a\u0637\u0628\u064a\u0642\u0643. \u064a\u0639\u0631\u0636 \u0647\u0630\u0627 \u0627\u0644\u0639\u0645\u064a\u0644 \u0627\u0644\u0628\u0633\u064a\u0637 \u0623\u062e\u0637\u0627\u0621 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0639\u0644\u0649 \u0634\u0643\u0644 \u0627\u0633\u062a\u062b\u0646\u0627\u0621\u0627\u062a Python.<\/p>\n<h2>6. \u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u0648\u062d\u0644 \u0627\u0644\u0645\u0634\u0643\u0644\u0627\u062a<\/h2>\n<pre><code class=\"language-text\">ollama ps\nollama stop llama3.2:1b\nollama rm llama3.2:1b\n<\/code><\/pre>\n<p>\u064a\u0639\u0631\u0636 <code>ps<\/code> \u0627\u0644\u0646\u0645\u0627\u0630\u062c \u0627\u0644\u0645\u062d\u0645\u0651\u0644\u0629\u060c \u0648\u064a\u062d\u0631\u0631 <code>stop<\/code> \u0630\u0627\u0643\u0631\u0629 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u0627\u0644\u0645\u062d\u062f\u062f\u060c \u0648\u064a\u062d\u0630\u0641 <code>rm<\/code> \u0645\u0644\u0641\u0627\u062a\u0647 \u0627\u0644\u0645\u0646\u0632\u0651\u0644\u0629. <a href=\"https:\/\/docs.ollama.com\/cli\">\u0645\u0631\u062c\u0639 \u0627\u0644\u0623\u0648\u0627\u0645\u0631<\/a><\/p>\n<ul>\n<li><strong>\u0627\u0644\u0623\u0645\u0631 \u063a\u064a\u0631 \u0645\u0648\u062c\u0648\u062f:<\/strong> \u0627\u0641\u062a\u062d \u0627\u0644\u0637\u0631\u0641\u064a\u0629 \u0645\u062c\u062f\u062f\u064b\u0627 \u0628\u0639\u062f \u0627\u0644\u062a\u062b\u0628\u064a\u062a \u0648\u062a\u062d\u0642\u0642 \u0645\u0646 \u062a\u062b\u0628\u064a\u062a Ollama.<\/li>\n<li><strong>\u0631\u0641\u0636 \u0627\u0644\u0627\u062a\u0635\u0627\u0644:<\/strong> \u0634\u063a\u0651\u0644 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0623\u0648 \u062e\u062f\u0645\u0629 Linux \u0623\u0648 \u0627\u0644\u062e\u0627\u062f\u0645 \u0627\u0644\u064a\u062f\u0648\u064a\u060c \u062b\u0645 \u0623\u0639\u062f \u0637\u0644\u0628 <code>\/api\/tags<\/code>.<\/li>\n<li><strong>\u0627\u0644\u0646\u0645\u0648\u0630\u062c \u063a\u064a\u0631 \u0645\u0648\u062c\u0648\u062f:<\/strong> \u0627\u0641\u062d\u0635 <code>ollama list<\/code> \u0648\u0646\u0632\u0651\u0644 \u0627\u0644\u0648\u0633\u0645 \u0646\u0641\u0633\u0647 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0641\u064a \u0627\u0644\u0637\u0644\u0628.<\/li>\n<li><strong>\u0628\u0637\u0621 \u0627\u0644\u0627\u0633\u062a\u062c\u0627\u0628\u0629 \u0623\u0648 \u0646\u0642\u0635 \u0627\u0644\u0630\u0627\u0643\u0631\u0629:<\/strong> \u0623\u063a\u0644\u0642 \u0627\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0627\u0644\u062a\u064a \u062a\u0633\u062a\u0647\u0644\u0643 \u0627\u0644\u0630\u0627\u0643\u0631\u0629 \u0648\u0627\u0641\u062d\u0635 <code>ollama ps<\/code>. \u064a\u0648\u0636\u062d \u0639\u0645\u0648\u062f \u0627\u0644\u0645\u0639\u0627\u0644\u062c \u0627\u0633\u062a\u062e\u062f\u0627\u0645 CPU \u0623\u0648 GPU. \u0642\u062f \u062a\u062d\u062a\u0627\u062c \u0627\u0644\u0646\u0645\u0627\u0630\u062c \u0627\u0644\u0623\u0643\u0628\u0631 \u0648\u0627\u0644\u0633\u064a\u0627\u0642\u0627\u062a \u0627\u0644\u0623\u0637\u0648\u0644 \u0625\u0644\u0649 \u0630\u0627\u0643\u0631\u0629 \u0625\u0636\u0627\u0641\u064a\u0629. <a href=\"https:\/\/docs.ollama.com\/faq\">\u0627\u0644\u0623\u0633\u0626\u0644\u0629 \u0627\u0644\u0634\u0627\u0626\u0639\u0629<\/a><\/li>\n<\/ul>\n<h2>\u0642\u0628\u0644 \u0645\u0634\u0627\u0631\u0643\u0629 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u062e\u062f\u0645\u0629<\/h2>\n<p>\u0644\u0627 \u062a\u062a\u0637\u0644\u0628 \u0648\u0627\u062c\u0647\u0629 API \u0627\u0644\u0645\u062d\u0644\u064a\u0629 \u0645\u0635\u0627\u062f\u0642\u0629. \u0623\u0628\u0642\u0650 \u0627\u0631\u062a\u0628\u0627\u0637\u0647\u0627 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a \u0628\u0639\u0646\u0648\u0627\u0646 loopback \u0641\u064a \u0647\u0630\u0627 \u0627\u0644\u062a\u0645\u0631\u064a\u0646. \u0625\u0630\u0627 \u0623\u062a\u062d\u062a\u0647\u0627 \u0644\u0627\u062d\u0642\u064b\u0627 \u0644\u0623\u062c\u0647\u0632\u0629 \u0623\u062e\u0631\u0649\u060c \u0623\u0636\u0641 \u0636\u0648\u0627\u0628\u0637 \u0627\u0644\u0648\u0635\u0648\u0644 \u0648\u0627\u0644\u0645\u0635\u0627\u062f\u0642\u0629 \u0639\u0628\u0631 HTTPS \u0648\u0642\u064a\u0648\u062f \u0627\u0644\u0634\u0628\u0643\u0629 \u0642\u0628\u0644 \u0645\u0634\u0627\u0631\u0643\u062a\u0647\u0627. <a href=\"https:\/\/docs.ollama.com\/api\/introduction\">\u0645\u0642\u062f\u0645\u0629 API<\/a>\u060c <a href=\"https:\/\/docs.ollama.com\/faq\">\u0625\u0639\u062f\u0627\u062f \u0627\u0644\u0634\u0628\u0643\u0629<\/a><\/p>\n<p>\u0623\u0635\u0628\u062d \u0644\u062f\u064a\u0643 \u0645\u0633\u0627\u0631 \u0627\u0644\u062a\u0634\u063a\u064a\u0644 \u0627\u0644\u0645\u062d\u0644\u064a \u0643\u0627\u0645\u0644\u064b\u0627: \u062a\u062b\u0628\u064a\u062a Ollama\u060c \u0648\u062a\u0646\u0632\u064a\u0644 \u0627\u0644\u0646\u0645\u0648\u0630\u062c\u060c \u0648\u0627\u062e\u062a\u0628\u0627\u0631\u0647 \u062a\u0641\u0627\u0639\u0644\u064a\u064b\u0627\u060c \u0648\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0637\u0644\u0628\u0627\u062a \u0645\u0646 \u0627\u0644\u0634\u064a\u0641\u0631\u0629. \u0631\u0627\u062c\u0639 \u0627\u0644\u0625\u062c\u0627\u0628\u0627\u062a \u0627\u0644\u0645\u0648\u0644\u062f\u0629 \u0642\u0628\u0644 \u0627\u0639\u062a\u0645\u0627\u062f\u0647\u0627 \u0643\u062d\u0642\u0627\u0626\u0642 \u0623\u0648 \u0625\u062f\u062e\u0627\u0644\u0647\u0627 \u0641\u064a \u062a\u0637\u0628\u064a\u0642.<\/p>\n<h2>\u0627\u0644\u0645\u0635\u0627\u062f\u0631<\/h2><ul><li><a href=\"https:\/\/docs.ollama.com\/quickstart\" rel=\"nofollow noopener\" target=\"_blank\">Ollama quickstart<\/a><\/li><li><a href=\"https:\/\/ollama.com\/library\/llama3.2:1b\" rel=\"nofollow noopener\" target=\"_blank\">Llama 3.2 1B model<\/a><\/li><li><a href=\"https:\/\/ollama.com\/download\" rel=\"nofollow noopener\" target=\"_blank\">Ollama download<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/linux\" rel=\"nofollow noopener\" target=\"_blank\">Linux installation<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/cli\" rel=\"nofollow noopener\" target=\"_blank\">CLI reference<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/faq\" rel=\"nofollow noopener\" target=\"_blank\">FAQ and server configuration<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/api\/tags\" rel=\"nofollow noopener\" target=\"_blank\">List models API<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/api\/generate\" rel=\"nofollow noopener\" target=\"_blank\">Generate API<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/api\/introduction\" rel=\"nofollow noopener\" target=\"_blank\">API introduction<\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>\u062a\u0639\u0644\u0651\u0645 \u062a\u062b\u0628\u064a\u062a Ollama \u0648\u062a\u0646\u0632\u064a\u0644 Llama 3.2 \u0648\u0627\u0644\u0645\u062d\u0627\u062f\u062b\u0629 \u0645\u0639\u0647 \u0639\u0628\u0631 \u0627\u0644\u0637\u0631\u0641\u064a\u0629 \u0648\u062a\u0642\u062f\u064a\u0645\u0647 \u0645\u0646 \u062e\u0644\u0627\u0644 \u0648\u0627\u062c\u0647\u0629 HTTP \u0645\u062d\u0644\u064a\u0629 \u0639\u0644\u0649 Windows \u0648macOS \u0648Linux.<\/p>\n","protected":false},"author":1,"featured_media":102,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_tl_ar_title":"\u062a\u0634\u063a\u064a\u0644 \u0646\u0645\u0648\u0630\u062c \u0644\u063a\u0648\u064a \u0645\u062d\u0644\u064a\u064b\u0627 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Ollama: \u0627\u0644\u062a\u062b\u0628\u064a\u062a \u0648\u0627\u0644\u062a\u0646\u0632\u064a\u0644 \u0648\u062a\u0642\u062f\u064a\u0645\u0647 \u0639\u0628\u0631 API","_tl_en_title":"Run an LLM locally with Ollama: install, download, and serve your first model","_tl_ar_excerpt":"\u062a\u0639\u0644\u0651\u0645 \u062a\u062b\u0628\u064a\u062a Ollama \u0648\u062a\u0646\u0632\u064a\u0644 Llama 3.2 \u0648\u0627\u0644\u0645\u062d\u0627\u062f\u062b\u0629 \u0645\u0639\u0647 \u0639\u0628\u0631 \u0627\u0644\u0637\u0631\u0641\u064a\u0629 \u0648\u062a\u0642\u062f\u064a\u0645\u0647 \u0645\u0646 \u062e\u0644\u0627\u0644 \u0648\u0627\u062c\u0647\u0629 HTTP \u0645\u062d\u0644\u064a\u0629 \u0639\u0644\u0649 Windows \u0648macOS \u0648Linux.","_tl_en_excerpt":"Learn how to install Ollama, download Llama 3.2, chat in your terminal, and serve the model through a local HTTP API on Windows, macOS, or Linux.","_tl_ar_content":"<h2>\u0645\u0627 \u0627\u0644\u0630\u064a \u0633\u062a\u062a\u0639\u0644\u0645\u0647\u061f<\/h2>\n<p>\u0633\u062a\u062a\u0639\u0644\u0645 \u062a\u0646\u0632\u064a\u0644 \u0646\u0645\u0648\u0630\u062c \u0644\u063a\u0648\u064a \u0648\u062a\u0634\u063a\u064a\u0644\u0647 \u0639\u0644\u0649 \u062c\u0647\u0627\u0632\u0643\u060c \u062b\u0645 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0637\u0644\u0628\u0627\u062a \u0625\u0644\u064a\u0647 \u0645\u0646 \u0627\u0644\u0637\u0631\u0641\u064a\u0629 \u0648\u0639\u0628\u0631 \u0648\u0627\u062c\u0647\u0629 HTTP. \u064a\u0648\u0641\u0631 Ollama \u0628\u064a\u0626\u0629 \u0627\u0644\u062a\u0634\u063a\u064a\u0644 \u0648\u0627\u0644\u062e\u0627\u062f\u0645\u060c \u0628\u064a\u0646\u0645\u0627 \u064a\u0648\u0641\u0631 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u0642\u062f\u0631\u0627\u062a \u062a\u0648\u0644\u064a\u062f \u0627\u0644\u0646\u0635\u0648\u0635. \u0644\u0627 \u062a\u062a\u0637\u0644\u0628 \u0627\u0644\u0646\u0645\u0627\u0630\u062c \u0627\u0644\u0645\u062d\u0644\u064a\u0629 \u0645\u0641\u062a\u0627\u062d API \u0645\u0646 Ollama. <a href=\"https:\/\/docs.ollama.com\/quickstart\">\u062f\u0644\u064a\u0644 \u0627\u0644\u0628\u062f\u0621<\/a><\/p>\n<p>\u0633\u0646\u0633\u062a\u062e\u062f\u0645 <code>llama3.2:1b<\/code>\u060c \u0648\u0647\u0648 \u0646\u0645\u0648\u0630\u062c \u0646\u0635\u064a \u0628\u0645\u0644\u064a\u0627\u0631 \u0645\u0639\u0644\u0645\u0629 \u0645\u0646 \u0639\u0627\u0626\u0644\u0629 Llama 3.2. \u062a\u062d\u062f\u064a\u062f \u0627\u0644\u0648\u0633\u0645 \u064a\u062c\u0639\u0644 \u0627\u0633\u0645 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u062b\u0627\u0628\u062a\u064b\u0627 \u0641\u064a \u0627\u0644\u0623\u0645\u062b\u0644\u0629. \u0647\u0630\u0627 \u0627\u062e\u062a\u064a\u0627\u0631 \u0644\u062a\u0639\u0644\u0645 \u062e\u0637\u0648\u0627\u062a \u0627\u0644\u062a\u0634\u063a\u064a\u0644\u060c \u0648\u0644\u0627 \u064a\u0636\u0645\u0646 \u062f\u0642\u0629 \u0627\u0644\u0625\u062c\u0627\u0628\u0627\u062a. \u0631\u0627\u062c\u0639 \u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0627\u0644\u062a\u0646\u0632\u064a\u0644 \u0648\u0627\u0644\u062a\u0631\u062e\u064a\u0635 \u0641\u064a <a href=\"https:\/\/ollama.com\/library\/llama3.2:1b\">\u0635\u0641\u062d\u0629 \u0627\u0644\u0646\u0645\u0648\u0630\u062c<\/a>.<\/p>\n<p>\u062a\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u0637\u0631\u0641\u064a\u0629 \u0648\u0627\u062a\u0635\u0627\u0644 \u0628\u0627\u0644\u0625\u0646\u062a\u0631\u0646\u062a \u0644\u0644\u062a\u062b\u0628\u064a\u062a \u0648\u0627\u0644\u062a\u0646\u0632\u064a\u0644 \u0627\u0644\u0623\u0648\u0644\u060c \u0648\u0645\u0633\u0627\u062d\u0629 \u062a\u062e\u0632\u064a\u0646 \u0648\u0630\u0627\u0643\u0631\u0629 \u0643\u0627\u0641\u064a\u062a\u064a\u0646. \u062d\u062c\u0645 \u0645\u0644\u0641 \u0627\u0644\u062a\u0646\u0632\u064a\u0644 \u064a\u062e\u062a\u0644\u0641 \u0639\u0646 \u0627\u0644\u0630\u0627\u0643\u0631\u0629 \u0627\u0644\u0644\u0627\u0632\u0645\u0629 \u0644\u0644\u062a\u0634\u063a\u064a\u0644\u060c \u0648\u062a\u062a\u0623\u062b\u0631 \u0627\u0644\u0633\u0631\u0639\u0629 \u0628\u0639\u062a\u0627\u062f \u0627\u0644\u062c\u0647\u0627\u0632 \u0648\u0637\u0648\u0644 \u0627\u0644\u0645\u062f\u062e\u0644\u0627\u062a.<\/p>\n<h2>1. \u062a\u062b\u0628\u064a\u062a Ollama<\/h2>\n<p><strong>Windows \u0648macOS:<\/strong> \u0646\u0632\u0651\u0644 \u0627\u0644\u0645\u062b\u0628\u0651\u062a \u0645\u0646 <a href=\"https:\/\/ollama.com\/download\">\u0645\u0648\u0642\u0639 Ollama<\/a>\u060c \u062b\u0645 \u062b\u0628\u0651\u062a \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0648\u0627\u0641\u062a\u062d\u0647. \u0627\u0641\u062a\u062d \u0646\u0627\u0641\u0630\u0629 PowerShell \u062c\u062f\u064a\u062f\u0629 \u0639\u0644\u0649 Windows \u0623\u0648 Terminal \u0639\u0644\u0649 macOS.<\/p>\n<p><strong>Linux:<\/strong> \u0627\u0633\u062a\u062e\u062f\u0645 \u0623\u0645\u0631 \u0627\u0644\u062a\u062b\u0628\u064a\u062a \u0627\u0644\u0631\u0633\u0645\u064a:<\/p>\n<pre><code class=\"language-bash\">curl -fsSL https:\/\/ollama.com\/install.sh | sh\n<\/code><\/pre>\n<p>\u064a\u0646\u0632\u0651\u0644 \u0647\u0630\u0627 \u0627\u0644\u0623\u0645\u0631 \u0646\u0635 \u0627\u0644\u062a\u062b\u0628\u064a\u062a \u0648\u064a\u0646\u0641\u0630\u0647. \u064a\u0645\u0643\u0646\u0643 \u0641\u062d\u0635 \u0645\u062d\u062a\u0648\u0627\u0647 \u0639\u0628\u0631 \u0627\u0644\u0631\u0627\u0628\u0637 \u0642\u0628\u0644 \u062a\u0634\u063a\u064a\u0644\u0647. \u0639\u0644\u0649 \u062c\u0647\u0627\u0632 Linux \u064a\u0633\u062a\u062e\u062f\u0645 systemd\u060c \u0634\u063a\u0651\u0644 \u0627\u0644\u062e\u062f\u0645\u0629 \u0648\u062a\u062d\u0642\u0642 \u0645\u0646 \u062d\u0627\u0644\u062a\u0647\u0627:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl start ollama\nsudo systemctl status ollama\n<\/code><\/pre>\n<p>\u0631\u0627\u062c\u0639 <a href=\"https:\/\/docs.ollama.com\/linux\">\u062f\u0644\u064a\u0644 Linux<\/a> \u0644\u0644\u062a\u062b\u0628\u064a\u062a \u0627\u0644\u064a\u062f\u0648\u064a \u0648\u0625\u0639\u062f\u0627\u062f \u0627\u0644\u062e\u062f\u0645\u0629. \u062a\u062d\u0642\u0642 \u0623\u064a\u0636\u064b\u0627 \u0645\u0646 \u062a\u0648\u0641\u0631 \u0627\u0644\u0623\u0645\u0631 \u0641\u064a \u0627\u0644\u0637\u0631\u0641\u064a\u0629:<\/p>\n<pre><code class=\"language-text\">ollama --version\n<\/code><\/pre>\n<h2>2. \u0627\u0644\u062a\u0623\u0643\u062f \u0645\u0646 \u062a\u0634\u063a\u064a\u0644 \u0627\u0644\u062e\u0627\u062f\u0645<\/h2>\n<p>\u0642\u062f \u064a\u0643\u0648\u0646 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0623\u0648 \u062e\u062f\u0645\u0629 Linux \u0642\u062f \u0634\u063a\u0651\u0644 \u0627\u0644\u062e\u0627\u062f\u0645 \u0628\u0627\u0644\u0641\u0639\u0644. \u0644\u062a\u0634\u063a\u064a\u0644\u0647 \u064a\u062f\u0648\u064a\u064b\u0627\u060c \u0627\u0633\u062a\u062e\u062f\u0645:<\/p>\n<pre><code class=\"language-text\">ollama serve\n<\/code><\/pre>\n<p>\u0627\u062a\u0631\u0643 \u0647\u0630\u0647 \u0627\u0644\u0637\u0631\u0641\u064a\u0629 \u0645\u0641\u062a\u0648\u062d\u0629\u060c \u0648\u0627\u0633\u062a\u062e\u062f\u0645 \u0637\u0631\u0641\u064a\u0629 \u062b\u0627\u0646\u064a\u0629 \u0644\u0644\u0623\u0648\u0627\u0645\u0631 \u0627\u0644\u062a\u0627\u0644\u064a\u0629. \u0625\u0630\u0627 \u0638\u0647\u0631\u062a \u0631\u0633\u0627\u0644\u0629 \u062a\u0641\u064a\u062f \u0628\u0623\u0646 \u0627\u0644\u0639\u0646\u0648\u0627\u0646 \u0645\u0633\u062a\u062e\u062f\u0645\u060c \u0627\u0641\u062d\u0635 \u0627\u0644\u062e\u0627\u062f\u0645 \u0627\u0644\u0645\u0648\u062c\u0648\u062f \u0642\u0628\u0644 \u0645\u062d\u0627\u0648\u0644\u0629 \u062a\u0634\u063a\u064a\u0644 \u0646\u0633\u062e\u0629 \u0623\u062e\u0631\u0649. <a href=\"https:\/\/docs.ollama.com\/cli\">\u0645\u0631\u062c\u0639 \u0627\u0644\u0623\u0648\u0627\u0645\u0631<\/a><\/p>\n<p>\u064a\u0631\u062a\u0628\u0637 Ollama \u0627\u0641\u062a\u0631\u0627\u0636\u064a\u064b\u0627 \u0628\u0627\u0644\u0639\u0646\u0648\u0627\u0646 <code>127.0.0.1:11434<\/code>. \u0633\u0646\u0628\u0642\u064a \u0627\u0644\u062e\u062f\u0645\u0629 \u0645\u062d\u0644\u064a\u0629 \u0639\u0644\u0649 \u062c\u0647\u0627\u0632\u0643. <a href=\"https:\/\/docs.ollama.com\/faq\">\u0625\u0639\u062f\u0627\u062f \u0627\u0644\u062e\u0627\u062f\u0645<\/a><\/p>\n<p>\u0644\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0648\u0627\u062c\u0647\u0629 API \u0639\u0644\u0649 macOS \u0623\u0648 Linux:<\/p>\n<pre><code class=\"language-bash\">curl http:\/\/localhost:11434\/api\/tags\n<\/code><\/pre>\n<p>\u0648\u0639\u0644\u0649 Windows PowerShell:<\/p>\n<pre><code class=\"language-powershell\">Invoke-RestMethod -Uri &#039;http:\/\/localhost:11434\/api\/tags&#039;\n<\/code><\/pre>\n<p>\u062a\u0639\u064a\u062f \u0647\u0630\u0647 \u0627\u0644\u0648\u0627\u062c\u0647\u0629 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0646\u0645\u0627\u0630\u062c \u0627\u0644\u0645\u0646\u0632\u0651\u0644\u0629. \u0648\u062c\u0648\u062f \u0642\u0627\u0626\u0645\u0629 \u0641\u0627\u0631\u063a\u0629 \u0642\u0628\u0644 \u062a\u0646\u0632\u064a\u0644 \u0623\u0648\u0644 \u0646\u0645\u0648\u0630\u062c \u0623\u0645\u0631 \u0637\u0628\u064a\u0639\u064a. <a href=\"https:\/\/docs.ollama.com\/api\/tags\">\u0648\u0627\u062c\u0647\u0629 \u0639\u0631\u0636 \u0627\u0644\u0646\u0645\u0627\u0630\u062c<\/a><\/p>\n<h2>3. \u062a\u0646\u0632\u064a\u0644 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u0648\u0627\u0644\u0645\u062d\u0627\u062f\u062b\u0629 \u0645\u0639\u0647<\/h2>\n<p>\u0646\u0641\u0651\u0630 \u0627\u0644\u0623\u0648\u0627\u0645\u0631 \u0627\u0644\u062a\u0627\u0644\u064a\u0629:<\/p>\n<pre><code class=\"language-text\">ollama pull llama3.2:1b\nollama list\nollama run llama3.2:1b\n<\/code><\/pre>\n<p>\u064a\u0646\u0632\u0651\u0644 <code>pull<\/code> \u0627\u0644\u0646\u0645\u0648\u0630\u062c\u060c \u0648\u064a\u0639\u0631\u0636 <code>list<\/code> \u0627\u0644\u0646\u0645\u0627\u0630\u062c \u0627\u0644\u0645\u062b\u0628\u062a\u0629\u060c \u0648\u064a\u0641\u062a\u062d <code>run<\/code> \u0645\u062d\u0627\u062f\u062b\u0629 \u062a\u0641\u0627\u0639\u0644\u064a\u0629. \u062c\u0631\u0651\u0628 \u0647\u0630\u0627 \u0627\u0644\u0637\u0644\u0628:<\/p>\n<pre><code class=\"language-text\">Explain what an HTTP API is to a beginner, in three sentences.\n<\/code><\/pre>\n<p>\u0627\u0643\u062a\u0628 <code>\/bye<\/code> \u0644\u0644\u062e\u0631\u0648\u062c \u0645\u0646 \u0627\u0644\u0645\u062d\u0627\u062f\u062b\u0629. \u0627\u0644\u062e\u0631\u0648\u062c \u0644\u0627 \u064a\u0648\u0642\u0641 \u0627\u0644\u062e\u0627\u062f\u0645 \u0627\u0644\u0630\u064a \u064a\u0639\u0645\u0644 \u0628\u0634\u0643\u0644 \u0645\u0633\u062a\u0642\u0644. \u064a\u0645\u0643\u0646\u0643 \u0641\u062d\u0635 \u0627\u0644\u0646\u0645\u0627\u0630\u062c \u0627\u0644\u0645\u062d\u0645\u0651\u0644\u0629 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 <code>ollama ps<\/code>. <a href=\"https:\/\/docs.ollama.com\/cli\">\u0645\u0631\u062c\u0639 \u0627\u0644\u0623\u0648\u0627\u0645\u0631<\/a>\u060c <a href=\"https:\/\/docs.ollama.com\/quickstart\">\u062f\u0644\u064a\u0644 \u0627\u0644\u0628\u062f\u0621<\/a><\/p>\n<h2>4. \u062a\u0642\u062f\u064a\u0645 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u0639\u0628\u0631 HTTP<\/h2>\n<p>\u0627\u0644\u062e\u0627\u062f\u0645 \u0627\u0644\u0630\u064a \u0634\u063a\u0651\u0644\u062a\u0647 \u064a\u062a\u064a\u062d \u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u0627\u0644\u0645\u0646\u0632\u0651\u0644 \u0628\u0627\u0644\u0641\u0639\u0644. \u064a\u062d\u062f\u062f \u062a\u0637\u0628\u064a\u0642\u0643 \u0627\u0633\u0645 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u0641\u064a \u0627\u0644\u0637\u0644\u0628\u060c \u0648\u0644\u0627 \u062a\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u062a\u0634\u063a\u064a\u0644 \u062e\u0627\u062f\u0645 \u0645\u0646\u0641\u0635\u0644 \u0644\u0643\u0644 \u0646\u0645\u0648\u0630\u062c.<\/p>\n<p>\u0639\u0644\u0649 macOS \u0623\u0648 Linux:<\/p>\n<pre><code class=\"language-bash\">curl http:\/\/localhost:11434\/api\/generate \n  -H &#039;Content-Type: application\/json&#039; \n  -d &#039;{&quot;model&quot;:&quot;llama3.2:1b&quot;,&quot;prompt&quot;:&quot;Explain local AI in three sentences.&quot;,&quot;stream&quot;:false}&#039;\n<\/code><\/pre>\n<p>\u0648\u0639\u0644\u0649 Windows PowerShell\u060c \u0623\u0646\u0634\u0626 JSON \u0635\u0631\u0627\u062d\u0629\u064b:<\/p>\n<pre><code class=\"language-powershell\">$payload = @{\n    model = &#039;llama3.2:1b&#039;\n    prompt = &#039;Explain local AI in three sentences.&#039;\n    stream = $false\n} | ConvertTo-Json\n\n$result = Invoke-RestMethod `\n    -Uri &#039;http:\/\/localhost:11434\/api\/generate&#039; `\n    -Method Post `\n    -ContentType &#039;application\/json&#039; `\n    -Body $payload\n\n$result.response\n<\/code><\/pre>\n<p>\u062a\u0637\u0644\u0628 \u0627\u0644\u0642\u064a\u0645\u0629 <code>stream: false<\/code> \u0627\u0633\u062a\u062c\u0627\u0628\u0629 JSON \u0648\u0627\u062d\u062f\u0629 \u0628\u062f\u0644\u064b\u0627 \u0645\u0646 \u0627\u0644\u0625\u062e\u0631\u0627\u062c \u0627\u0644\u0645\u062a\u062f\u0641\u0642 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a. \u064a\u062d\u062a\u0648\u064a \u0627\u0644\u062d\u0642\u0644 <code>response<\/code> \u0639\u0644\u0649 \u0627\u0644\u0646\u0635 \u0627\u0644\u0645\u0648\u0644\u0651\u062f\u060c \u0648\u064a\u0634\u064a\u0631 <code>done<\/code> \u0625\u0644\u0649 \u0627\u0643\u062a\u0645\u0627\u0644 \u0627\u0644\u062a\u0648\u0644\u064a\u062f. \u0642\u062f \u062a\u062e\u062a\u0644\u0641 \u0635\u064a\u0627\u063a\u0629 \u0627\u0644\u0625\u062c\u0627\u0628\u0629 \u0628\u064a\u0646 \u0627\u0644\u0637\u0644\u0628\u0627\u062a. <a href=\"https:\/\/docs.ollama.com\/api\/generate\">\u0648\u0627\u062c\u0647\u0629 \u0627\u0644\u062a\u0648\u0644\u064a\u062f<\/a><\/p>\n<h2>5. \u0627\u0633\u062a\u062f\u0639\u0627\u0621 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u0645\u0646 Python<\/h2>\n<p>\u0627\u062d\u0641\u0638 \u0627\u0644\u0645\u062b\u0627\u0644 \u0627\u0644\u062a\u0627\u0644\u064a \u0628\u0627\u0633\u0645 <code>local_llm.py<\/code>. \u064a\u0633\u062a\u062e\u062f\u0645 \u0645\u0643\u062a\u0628\u0629 Python \u0627\u0644\u0642\u064a\u0627\u0633\u064a\u0629 \u0648\u0644\u0627 \u064a\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u062a\u062b\u0628\u064a\u062a \u062d\u0632\u0645 \u0625\u0636\u0627\u0641\u064a\u0629:<\/p>\n<pre><code class=\"language-python\">import json\nfrom urllib.request import Request, urlopen\n\npayload = {\n    &quot;model&quot;: &quot;llama3.2:1b&quot;,\n    &quot;prompt&quot;: &quot;Give me three ideas for a beginner Python project.&quot;,\n    &quot;stream&quot;: False,\n}\n\nrequest = Request(\n    &quot;http:\/\/localhost:11434\/api\/generate&quot;,\n    data=json.dumps(payload).encode(&quot;utf-8&quot;),\n    headers={&quot;Content-Type&quot;: &quot;application\/json&quot;},\n    method=&quot;POST&quot;,\n)\n\nwith urlopen(request, timeout=300) as response:\n    result = json.load(response)\n\nprint(result[&quot;response&quot;])\n<\/code><\/pre>\n<p>\u0634\u063a\u0651\u0644\u0647 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 <code>python local_llm.py<\/code> \u0623\u0648 <code>python3 local_llm.py<\/code> \u0628\u062d\u0633\u0628 \u0625\u0639\u062f\u0627\u062f \u062c\u0647\u0627\u0632\u0643\u060c \u0645\u0639 \u0625\u0628\u0642\u0627\u0621 Ollama \u0642\u064a\u062f \u0627\u0644\u062a\u0634\u063a\u064a\u0644. \u062a\u0633\u0645\u062d \u0627\u0644\u0645\u0647\u0644\u0629 \u0627\u0644\u0637\u0648\u064a\u0644\u0629 \u0628\u0627\u0633\u062a\u064a\u0639\u0627\u0628 \u0628\u0637\u0621 \u0627\u0644\u0637\u0644\u0628 \u0627\u0644\u0623\u0648\u0644\u060c \u0648\u064a\u0645\u0643\u0646 \u062a\u0639\u062f\u064a\u0644\u0647\u0627 \u0648\u0641\u0642 \u062a\u0637\u0628\u064a\u0642\u0643. \u064a\u0639\u0631\u0636 \u0647\u0630\u0627 \u0627\u0644\u0639\u0645\u064a\u0644 \u0627\u0644\u0628\u0633\u064a\u0637 \u0623\u062e\u0637\u0627\u0621 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0639\u0644\u0649 \u0634\u0643\u0644 \u0627\u0633\u062a\u062b\u0646\u0627\u0621\u0627\u062a Python.<\/p>\n<h2>6. \u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u0648\u062d\u0644 \u0627\u0644\u0645\u0634\u0643\u0644\u0627\u062a<\/h2>\n<pre><code class=\"language-text\">ollama ps\nollama stop llama3.2:1b\nollama rm llama3.2:1b\n<\/code><\/pre>\n<p>\u064a\u0639\u0631\u0636 <code>ps<\/code> \u0627\u0644\u0646\u0645\u0627\u0630\u062c \u0627\u0644\u0645\u062d\u0645\u0651\u0644\u0629\u060c \u0648\u064a\u062d\u0631\u0631 <code>stop<\/code> \u0630\u0627\u0643\u0631\u0629 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u0627\u0644\u0645\u062d\u062f\u062f\u060c \u0648\u064a\u062d\u0630\u0641 <code>rm<\/code> \u0645\u0644\u0641\u0627\u062a\u0647 \u0627\u0644\u0645\u0646\u0632\u0651\u0644\u0629. <a href=\"https:\/\/docs.ollama.com\/cli\">\u0645\u0631\u062c\u0639 \u0627\u0644\u0623\u0648\u0627\u0645\u0631<\/a><\/p>\n<ul>\n<li><strong>\u0627\u0644\u0623\u0645\u0631 \u063a\u064a\u0631 \u0645\u0648\u062c\u0648\u062f:<\/strong> \u0627\u0641\u062a\u062d \u0627\u0644\u0637\u0631\u0641\u064a\u0629 \u0645\u062c\u062f\u062f\u064b\u0627 \u0628\u0639\u062f \u0627\u0644\u062a\u062b\u0628\u064a\u062a \u0648\u062a\u062d\u0642\u0642 \u0645\u0646 \u062a\u062b\u0628\u064a\u062a Ollama.<\/li>\n<li><strong>\u0631\u0641\u0636 \u0627\u0644\u0627\u062a\u0635\u0627\u0644:<\/strong> \u0634\u063a\u0651\u0644 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0623\u0648 \u062e\u062f\u0645\u0629 Linux \u0623\u0648 \u0627\u0644\u062e\u0627\u062f\u0645 \u0627\u0644\u064a\u062f\u0648\u064a\u060c \u062b\u0645 \u0623\u0639\u062f \u0637\u0644\u0628 <code>\/api\/tags<\/code>.<\/li>\n<li><strong>\u0627\u0644\u0646\u0645\u0648\u0630\u062c \u063a\u064a\u0631 \u0645\u0648\u062c\u0648\u062f:<\/strong> \u0627\u0641\u062d\u0635 <code>ollama list<\/code> \u0648\u0646\u0632\u0651\u0644 \u0627\u0644\u0648\u0633\u0645 \u0646\u0641\u0633\u0647 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0641\u064a \u0627\u0644\u0637\u0644\u0628.<\/li>\n<li><strong>\u0628\u0637\u0621 \u0627\u0644\u0627\u0633\u062a\u062c\u0627\u0628\u0629 \u0623\u0648 \u0646\u0642\u0635 \u0627\u0644\u0630\u0627\u0643\u0631\u0629:<\/strong> \u0623\u063a\u0644\u0642 \u0627\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0627\u0644\u062a\u064a \u062a\u0633\u062a\u0647\u0644\u0643 \u0627\u0644\u0630\u0627\u0643\u0631\u0629 \u0648\u0627\u0641\u062d\u0635 <code>ollama ps<\/code>. \u064a\u0648\u0636\u062d \u0639\u0645\u0648\u062f \u0627\u0644\u0645\u0639\u0627\u0644\u062c \u0627\u0633\u062a\u062e\u062f\u0627\u0645 CPU \u0623\u0648 GPU. \u0642\u062f \u062a\u062d\u062a\u0627\u062c \u0627\u0644\u0646\u0645\u0627\u0630\u062c \u0627\u0644\u0623\u0643\u0628\u0631 \u0648\u0627\u0644\u0633\u064a\u0627\u0642\u0627\u062a \u0627\u0644\u0623\u0637\u0648\u0644 \u0625\u0644\u0649 \u0630\u0627\u0643\u0631\u0629 \u0625\u0636\u0627\u0641\u064a\u0629. <a href=\"https:\/\/docs.ollama.com\/faq\">\u0627\u0644\u0623\u0633\u0626\u0644\u0629 \u0627\u0644\u0634\u0627\u0626\u0639\u0629<\/a><\/li>\n<\/ul>\n<h2>\u0642\u0628\u0644 \u0645\u0634\u0627\u0631\u0643\u0629 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u062e\u062f\u0645\u0629<\/h2>\n<p>\u0644\u0627 \u062a\u062a\u0637\u0644\u0628 \u0648\u0627\u062c\u0647\u0629 API \u0627\u0644\u0645\u062d\u0644\u064a\u0629 \u0645\u0635\u0627\u062f\u0642\u0629. \u0623\u0628\u0642\u0650 \u0627\u0631\u062a\u0628\u0627\u0637\u0647\u0627 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a \u0628\u0639\u0646\u0648\u0627\u0646 loopback \u0641\u064a \u0647\u0630\u0627 \u0627\u0644\u062a\u0645\u0631\u064a\u0646. \u0625\u0630\u0627 \u0623\u062a\u062d\u062a\u0647\u0627 \u0644\u0627\u062d\u0642\u064b\u0627 \u0644\u0623\u062c\u0647\u0632\u0629 \u0623\u062e\u0631\u0649\u060c \u0623\u0636\u0641 \u0636\u0648\u0627\u0628\u0637 \u0627\u0644\u0648\u0635\u0648\u0644 \u0648\u0627\u0644\u0645\u0635\u0627\u062f\u0642\u0629 \u0639\u0628\u0631 HTTPS \u0648\u0642\u064a\u0648\u062f \u0627\u0644\u0634\u0628\u0643\u0629 \u0642\u0628\u0644 \u0645\u0634\u0627\u0631\u0643\u062a\u0647\u0627. <a href=\"https:\/\/docs.ollama.com\/api\/introduction\">\u0645\u0642\u062f\u0645\u0629 API<\/a>\u060c <a href=\"https:\/\/docs.ollama.com\/faq\">\u0625\u0639\u062f\u0627\u062f \u0627\u0644\u0634\u0628\u0643\u0629<\/a><\/p>\n<p>\u0623\u0635\u0628\u062d \u0644\u062f\u064a\u0643 \u0645\u0633\u0627\u0631 \u0627\u0644\u062a\u0634\u063a\u064a\u0644 \u0627\u0644\u0645\u062d\u0644\u064a \u0643\u0627\u0645\u0644\u064b\u0627: \u062a\u062b\u0628\u064a\u062a Ollama\u060c \u0648\u062a\u0646\u0632\u064a\u0644 \u0627\u0644\u0646\u0645\u0648\u0630\u062c\u060c \u0648\u0627\u062e\u062a\u0628\u0627\u0631\u0647 \u062a\u0641\u0627\u0639\u0644\u064a\u064b\u0627\u060c \u0648\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0637\u0644\u0628\u0627\u062a \u0645\u0646 \u0627\u0644\u0634\u064a\u0641\u0631\u0629. \u0631\u0627\u062c\u0639 \u0627\u0644\u0625\u062c\u0627\u0628\u0627\u062a \u0627\u0644\u0645\u0648\u0644\u062f\u0629 \u0642\u0628\u0644 \u0627\u0639\u062a\u0645\u0627\u062f\u0647\u0627 \u0643\u062d\u0642\u0627\u0626\u0642 \u0623\u0648 \u0625\u062f\u062e\u0627\u0644\u0647\u0627 \u0641\u064a \u062a\u0637\u0628\u064a\u0642.<\/p>\n<h2>\u0627\u0644\u0645\u0635\u0627\u062f\u0631<\/h2><ul><li><a href=\"https:\/\/docs.ollama.com\/quickstart\" rel=\"nofollow noopener\" target=\"_blank\">Ollama quickstart<\/a><\/li><li><a href=\"https:\/\/ollama.com\/library\/llama3.2:1b\" rel=\"nofollow noopener\" target=\"_blank\">Llama 3.2 1B model<\/a><\/li><li><a href=\"https:\/\/ollama.com\/download\" rel=\"nofollow noopener\" target=\"_blank\">Ollama download<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/linux\" rel=\"nofollow noopener\" target=\"_blank\">Linux installation<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/cli\" rel=\"nofollow noopener\" target=\"_blank\">CLI reference<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/faq\" rel=\"nofollow noopener\" target=\"_blank\">FAQ and server configuration<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/api\/tags\" rel=\"nofollow noopener\" target=\"_blank\">List models API<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/api\/generate\" rel=\"nofollow noopener\" target=\"_blank\">Generate API<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/api\/introduction\" rel=\"nofollow noopener\" target=\"_blank\">API introduction<\/a><\/li><\/ul>","_tl_en_content":"<h2>What you will build<\/h2>\n<p>By the end of this tutorial, you will have a downloaded language model that accepts prompts in your terminal and through an HTTP endpoint. Ollama provides the runtime and server; the model supplies the language capabilities. Local models require no Ollama API key. <a href=\"https:\/\/docs.ollama.com\/quickstart\">Ollama quickstart<\/a><\/p>\n<p>We will use <code>llama3.2:1b<\/code>, a small, one-billion-parameter text model from the Llama 3.2 family. The explicit tag makes the examples consistent. It is a practical starting point for learning the workflow, rather than a promise of high-quality answers. Check the model page for its license and download information. <a href=\"https:\/\/ollama.com\/library\/llama3.2:1b\">Model listing<\/a><\/p>\n<p>You need a terminal, internet access for installation and the initial download, and enough disk space and memory for the model. Download size and runtime memory are different: serving also needs working memory. Hardware and prompt length affect performance.<\/p>\n<h2>1. Install Ollama<\/h2>\n<p><strong>Windows and macOS:<\/strong> Download the installer from <a href=\"https:\/\/ollama.com\/download\">Ollama<\/a>, install it, and open the application. Open a fresh PowerShell window on Windows or Terminal on macOS.<\/p>\n<p><strong>Linux:<\/strong> The official installation command is:<\/p>\n<pre><code class=\"language-bash\">curl -fsSL https:\/\/ollama.com\/install.sh | sh\n<\/code><\/pre>\n<p>This downloads and executes the installer. You can inspect the script at the linked URL before running it. On a Linux machine with systemd, check the installed service:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl start ollama\nsudo systemctl status ollama\n<\/code><\/pre>\n<p>The official Linux guide also covers manual installation and service configuration. <a href=\"https:\/\/docs.ollama.com\/linux\">Linux installation<\/a><\/p>\n<p>Check that your terminal can find Ollama:<\/p>\n<pre><code class=\"language-text\">ollama --version\n<\/code><\/pre>\n<h2>2. Make sure the server is running<\/h2>\n<p>The desktop application or Linux service may already run the server. If you are running Ollama manually, start it with:<\/p>\n<pre><code class=\"language-text\">ollama serve\n<\/code><\/pre>\n<p>Leave that terminal open and use a second terminal for subsequent commands. If you get an \u201caddress already in use\u201d error, check the existing server before starting another instance. <a href=\"https:\/\/docs.ollama.com\/cli\">CLI reference<\/a><\/p>\n<p>Ollama binds to <code>127.0.0.1:11434<\/code> by default. This tutorial keeps the server local to your computer. <a href=\"https:\/\/docs.ollama.com\/faq\">Server configuration<\/a><\/p>\n<p>Verify the API on macOS or Linux:<\/p>\n<pre><code class=\"language-bash\">curl http:\/\/localhost:11434\/api\/tags\n<\/code><\/pre>\n<p>On Windows PowerShell:<\/p>\n<pre><code class=\"language-powershell\">Invoke-RestMethod -Uri &#039;http:\/\/localhost:11434\/api\/tags&#039;\n<\/code><\/pre>\n<p>This endpoint returns downloaded models. An empty list is normal before your first download. <a href=\"https:\/\/docs.ollama.com\/api\/tags\">List models API<\/a><\/p>\n<h2>3. Download and chat with the model<\/h2>\n<p>Run these commands on any supported platform:<\/p>\n<pre><code class=\"language-text\">ollama pull llama3.2:1b\nollama list\nollama run llama3.2:1b\n<\/code><\/pre>\n<p><code>pull<\/code> downloads the model, <code>list<\/code> shows installed models, and <code>run<\/code> opens an interactive chat. Try this prompt:<\/p>\n<pre><code class=\"language-text\">Explain what an HTTP API is to a beginner, in three sentences.\n<\/code><\/pre>\n<p>Type <code>\/bye<\/code> to leave the chat. Leaving the chat does not stop the separately running server. You can inspect running models with <code>ollama ps<\/code>. <a href=\"https:\/\/docs.ollama.com\/cli\">CLI reference<\/a>, <a href=\"https:\/\/docs.ollama.com\/quickstart\">Quickstart<\/a><\/p>\n<h2>4. Serve a prompt through HTTP<\/h2>\n<p>The running Ollama server already serves your downloaded model. Your application selects it by name in the request; you do not need a separate server process for each model.<\/p>\n<p>On macOS or Linux:<\/p>\n<pre><code class=\"language-bash\">curl http:\/\/localhost:11434\/api\/generate \n  -H &#039;Content-Type: application\/json&#039; \n  -d &#039;{&quot;model&quot;:&quot;llama3.2:1b&quot;,&quot;prompt&quot;:&quot;Explain local AI in three sentences.&quot;,&quot;stream&quot;:false}&#039;\n<\/code><\/pre>\n<p>On Windows PowerShell, build the JSON explicitly:<\/p>\n<pre><code class=\"language-powershell\">$payload = @{\n    model = &#039;llama3.2:1b&#039;\n    prompt = &#039;Explain local AI in three sentences.&#039;\n    stream = $false\n} | ConvertTo-Json\n\n$result = Invoke-RestMethod `\n    -Uri &#039;http:\/\/localhost:11434\/api\/generate&#039; `\n    -Method Post `\n    -ContentType &#039;application\/json&#039; `\n    -Body $payload\n\n$result.response\n<\/code><\/pre>\n<p><code>stream: false<\/code> requests a single JSON response instead of the default streamed output. The generated text is in <code>response<\/code>; <code>done<\/code> indicates completion. The wording varies between runs. <a href=\"https:\/\/docs.ollama.com\/api\/generate\">Generate API<\/a><\/p>\n<h2>5. Call the model from Python<\/h2>\n<p>Save this as <code>local_llm.py<\/code>. It uses Python&#039;s standard library, so no extra package is needed:<\/p>\n<pre><code class=\"language-python\">import json\nfrom urllib.request import Request, urlopen\n\npayload = {\n    &quot;model&quot;: &quot;llama3.2:1b&quot;,\n    &quot;prompt&quot;: &quot;Give me three ideas for a beginner Python project.&quot;,\n    &quot;stream&quot;: False,\n}\n\nrequest = Request(\n    &quot;http:\/\/localhost:11434\/api\/generate&quot;,\n    data=json.dumps(payload).encode(&quot;utf-8&quot;),\n    headers={&quot;Content-Type&quot;: &quot;application\/json&quot;},\n    method=&quot;POST&quot;,\n)\n\nwith urlopen(request, timeout=300) as response:\n    result = json.load(response)\n\nprint(result[&quot;response&quot;])\n<\/code><\/pre>\n<p>Run it with <code>python local_llm.py<\/code>, or <code>python3 local_llm.py<\/code> if that is your system&#039;s Python command. Keep Ollama running. The generous timeout accommodates slow first requests; adjust it for your application. This example is a minimal client, so connection errors will appear as Python exceptions.<\/p>\n<h2>6. Manage the model and troubleshoot<\/h2>\n<p>Useful commands:<\/p>\n<pre><code class=\"language-text\">ollama ps\nollama stop llama3.2:1b\nollama rm llama3.2:1b\n<\/code><\/pre>\n<p><code>ps<\/code> shows loaded models. <code>stop<\/code> unloads the specified model from memory; <code>rm<\/code> deletes its local download. <a href=\"https:\/\/docs.ollama.com\/cli\">CLI reference<\/a><\/p>\n<p>If something goes wrong:<\/p>\n<ul>\n<li><strong>Command not found:<\/strong> Reopen the terminal after installation and confirm Ollama is installed.<\/li>\n<li><strong>Connection refused:<\/strong> Start the application, Linux service, or manual server, then repeat the <code>\/api\/tags<\/code> request.<\/li>\n<li><strong>Model not found:<\/strong> Run <code>ollama list<\/code>, then pull the exact tag used in your request.<\/li>\n<li><strong>Slow responses or memory errors:<\/strong> Close memory-heavy applications and inspect <code>ollama ps<\/code>. Its processor column indicates CPU\/GPU use. A larger model or longer context can require more memory. <a href=\"https:\/\/docs.ollama.com\/faq\">Ollama FAQ<\/a><\/li>\n<\/ul>\n<h2>Before sharing the endpoint<\/h2>\n<p>The local API requires no authentication. Keep its default loopback binding for this exercise. If you later make it reachable by other machines, add access controls, authenticated HTTPS, and network restrictions before sharing it. <a href=\"https:\/\/docs.ollama.com\/api\/introduction\">API introduction<\/a>, <a href=\"https:\/\/docs.ollama.com\/faq\">Network configuration<\/a><\/p>\n<p>You now have the full local workflow: install Ollama, pull a model, test it interactively, and send prompts from code. Review generated answers before using them as facts or incorporating them into an application.<\/p>\n<h2>Sources<\/h2><ul><li><a href=\"https:\/\/docs.ollama.com\/quickstart\" rel=\"nofollow noopener\" target=\"_blank\">Ollama quickstart<\/a><\/li><li><a href=\"https:\/\/ollama.com\/library\/llama3.2:1b\" rel=\"nofollow noopener\" target=\"_blank\">Llama 3.2 1B model<\/a><\/li><li><a href=\"https:\/\/ollama.com\/download\" rel=\"nofollow noopener\" target=\"_blank\">Ollama download<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/linux\" rel=\"nofollow noopener\" target=\"_blank\">Linux installation<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/cli\" rel=\"nofollow noopener\" target=\"_blank\">CLI reference<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/faq\" rel=\"nofollow noopener\" target=\"_blank\">FAQ and server configuration<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/api\/tags\" rel=\"nofollow noopener\" target=\"_blank\">List models API<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/api\/generate\" rel=\"nofollow noopener\" target=\"_blank\">Generate API<\/a><\/li><li><a href=\"https:\/\/docs.ollama.com\/api\/introduction\" rel=\"nofollow noopener\" target=\"_blank\">API introduction<\/a><\/li><\/ul>","_tl_ar_seo_title":"\u062f\u0644\u064a\u0644 Ollama: \u062a\u0646\u0632\u064a\u0644 \u0646\u0645\u0648\u0630\u062c \u0644\u063a\u0648\u064a \u0648\u062a\u0634\u063a\u064a\u0644\u0647 \u0639\u0628\u0631 API","_tl_en_seo_title":"Ollama Tutorial: Download and Serve a Local LLM","_tl_ar_meta_description":"\u062b\u0628\u0651\u062a Ollama \u0648\u0646\u0632\u0651\u0644 \u0646\u0645\u0648\u0630\u062c\u064b\u0627 \u0644\u063a\u0648\u064a\u064b\u0627 \u0645\u062d\u0644\u064a\u064b\u0627 \u0648\u0642\u062f\u0651\u0645\u0647 \u0639\u0628\u0631 HTTP \u0645\u0639 \u0623\u0645\u062b\u0644\u0629 \u0639\u0645\u0644\u064a\u0629 \u0644\u0644\u0637\u0631\u0641\u064a\u0629 \u0648PowerShell \u0648Python.","_tl_en_meta_description":"Install Ollama, download a local LLM, and serve it through an HTTP API with practical terminal, PowerShell, and Python examples.","_tl_ar_slug":"ollama-local-llm-tutorial-ar","_tl_en_slug":"ollama-tutorial-download-serve-local-llm","_tl_bilingual_managed":"1","footnotes":""},"categories":[27],"tags":[29,28,30,31,32],"class_list":["post-103","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-llm","tag-local-ai","tag-model-serving","tag-ollama","tag-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Run an LLM locally with Ollama: install, download, and serve your first model - Tech Layers<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/\" \/>\n<meta property=\"og:locale\" content=\"ar_AR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Run an LLM locally with Ollama: install, download, and serve your first model - Tech Layers\" \/>\n<meta property=\"og:description\" content=\"\u062a\u0639\u0644\u0651\u0645 \u062a\u062b\u0628\u064a\u062a Ollama \u0648\u062a\u0646\u0632\u064a\u0644 Llama 3.2 \u0648\u0627\u0644\u0645\u062d\u0627\u062f\u062b\u0629 \u0645\u0639\u0647 \u0639\u0628\u0631 \u0627\u0644\u0637\u0631\u0641\u064a\u0629 \u0648\u062a\u0642\u062f\u064a\u0645\u0647 \u0645\u0646 \u062e\u0644\u0627\u0644 \u0648\u0627\u062c\u0647\u0629 HTTP \u0645\u062d\u0644\u064a\u0629 \u0639\u0644\u0649 Windows \u0648macOS \u0648Linux.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/\" \/>\n<meta property=\"og:site_name\" content=\"Tech Layers\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-04T08:57:29+00:00\" \/>\n<meta name=\"author\" content=\"waelalomayrah\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0643\u064f\u062a\u0628 \u0628\u0648\u0627\u0633\u0637\u0629\" \/>\n\t<meta name=\"twitter:data1\" content=\"waelalomayrah\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0648\u0642\u062a \u0627\u0644\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u064f\u0642\u062f\u0651\u0631\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u062f\u0642\u0627\u0626\u0642\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/tech-layers.com\\\/ar\\\/ollama-tutorial-download-serve-local-llm\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/tech-layers.com\\\/ar\\\/ollama-tutorial-download-serve-local-llm\\\/\"},\"author\":{\"name\":\"waelalomayrah\",\"@id\":\"https:\\\/\\\/tech-layers.com\\\/#\\\/schema\\\/person\\\/2c529e368987c243e246492899943786\"},\"headline\":\"\u062a\u0634\u063a\u064a\u0644 \u0646\u0645\u0648\u0630\u062c \u0644\u063a\u0648\u064a \u0645\u062d\u0644\u064a\u064b\u0627 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Ollama: \u0627\u0644\u062a\u062b\u0628\u064a\u062a \u0648\u0627\u0644\u062a\u0646\u0632\u064a\u0644 \u0648\u062a\u0642\u062f\u064a\u0645\u0647 \u0639\u0628\u0631 API\",\"datePublished\":\"2026-10-04T08:57:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/tech-layers.com\\\/ar\\\/ollama-tutorial-download-serve-local-llm\\\/\"},\"wordCount\":706,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/tech-layers.com\\\/ar\\\/ollama-tutorial-download-serve-local-llm\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/tech-layers.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/draft-1791102613916-f326a71d-media-1791103069348-5.png\",\"keywords\":[\"LLM\",\"Local AI\",\"Model Serving\",\"Ollama\",\"Python\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"ar\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/tech-layers.com\\\/ar\\\/ollama-tutorial-download-serve-local-llm\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/tech-layers.com\\\/ar\\\/ollama-tutorial-download-serve-local-llm\\\/\",\"url\":\"https:\\\/\\\/tech-layers.com\\\/ar\\\/ollama-tutorial-download-serve-local-llm\\\/\",\"name\":\"Run an LLM locally with Ollama: install, download, and serve your first model - Tech Layers\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/tech-layers.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/tech-layers.com\\\/ar\\\/ollama-tutorial-download-serve-local-llm\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/tech-layers.com\\\/ar\\\/ollama-tutorial-download-serve-local-llm\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/tech-layers.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/draft-1791102613916-f326a71d-media-1791103069348-5.png\",\"datePublished\":\"2026-10-04T08:57:29+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/tech-layers.com\\\/#\\\/schema\\\/person\\\/2c529e368987c243e246492899943786\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/tech-layers.com\\\/ar\\\/ollama-tutorial-download-serve-local-llm\\\/#breadcrumb\"},\"inLanguage\":\"ar\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/tech-layers.com\\\/ar\\\/ollama-tutorial-download-serve-local-llm\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ar\",\"@id\":\"https:\\\/\\\/tech-layers.com\\\/ar\\\/ollama-tutorial-download-serve-local-llm\\\/#primaryimage\",\"url\":\"https:\\\/\\\/tech-layers.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/draft-1791102613916-f326a71d-media-1791103069348-5.png\",\"contentUrl\":\"https:\\\/\\\/tech-layers.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/draft-1791102613916-f326a71d-media-1791103069348-5.png\",\"width\":960,\"height\":540},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/tech-layers.com\\\/ar\\\/ollama-tutorial-download-serve-local-llm\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/tech-layers.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Run an LLM locally with Ollama: install, download, and serve your first model\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/tech-layers.com\\\/#website\",\"url\":\"https:\\\/\\\/tech-layers.com\\\/\",\"name\":\"Tech Layers\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/tech-layers.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ar\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/tech-layers.com\\\/#\\\/schema\\\/person\\\/2c529e368987c243e246492899943786\",\"name\":\"waelalomayrah\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ar\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/39836bcb66495abe5daa50777dd830a334d19c890538a7977bda510b7b25b5de?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/39836bcb66495abe5daa50777dd830a334d19c890538a7977bda510b7b25b5de?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/39836bcb66495abe5daa50777dd830a334d19c890538a7977bda510b7b25b5de?s=96&d=mm&r=g\",\"caption\":\"waelalomayrah\"},\"sameAs\":[\"https:\\\/\\\/tech-layers.com\"],\"url\":\"https:\\\/\\\/tech-layers.com\\\/ar\\\/author\\\/waelalomayrah\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Run an LLM locally with Ollama: install, download, and serve your first model - Tech Layers","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:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/","og_locale":"ar_AR","og_type":"article","og_title":"Run an LLM locally with Ollama: install, download, and serve your first model - Tech Layers","og_description":"\u062a\u0639\u0644\u0651\u0645 \u062a\u062b\u0628\u064a\u062a Ollama \u0648\u062a\u0646\u0632\u064a\u0644 Llama 3.2 \u0648\u0627\u0644\u0645\u062d\u0627\u062f\u062b\u0629 \u0645\u0639\u0647 \u0639\u0628\u0631 \u0627\u0644\u0637\u0631\u0641\u064a\u0629 \u0648\u062a\u0642\u062f\u064a\u0645\u0647 \u0645\u0646 \u062e\u0644\u0627\u0644 \u0648\u0627\u062c\u0647\u0629 HTTP \u0645\u062d\u0644\u064a\u0629 \u0639\u0644\u0649 Windows \u0648macOS \u0648Linux.","og_url":"https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/","og_site_name":"Tech Layers","article_published_time":"2026-10-04T08:57:29+00:00","author":"waelalomayrah","twitter_card":"summary_large_image","twitter_misc":{"\u0643\u064f\u062a\u0628 \u0628\u0648\u0627\u0633\u0637\u0629":"waelalomayrah","\u0648\u0642\u062a \u0627\u0644\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u064f\u0642\u062f\u0651\u0631":"5 \u062f\u0642\u0627\u0626\u0642"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/#article","isPartOf":{"@id":"https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/"},"author":{"name":"waelalomayrah","@id":"https:\/\/tech-layers.com\/#\/schema\/person\/2c529e368987c243e246492899943786"},"headline":"\u062a\u0634\u063a\u064a\u0644 \u0646\u0645\u0648\u0630\u062c \u0644\u063a\u0648\u064a \u0645\u062d\u0644\u064a\u064b\u0627 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Ollama: \u0627\u0644\u062a\u062b\u0628\u064a\u062a \u0648\u0627\u0644\u062a\u0646\u0632\u064a\u0644 \u0648\u062a\u0642\u062f\u064a\u0645\u0647 \u0639\u0628\u0631 API","datePublished":"2026-10-04T08:57:29+00:00","mainEntityOfPage":{"@id":"https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/"},"wordCount":706,"commentCount":0,"image":{"@id":"https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/#primaryimage"},"thumbnailUrl":"https:\/\/tech-layers.com\/wp-content\/uploads\/2026\/10\/draft-1791102613916-f326a71d-media-1791103069348-5.png","keywords":["LLM","Local AI","Model Serving","Ollama","Python"],"articleSection":["Tutorials"],"inLanguage":"ar","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/","url":"https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/","name":"Run an LLM locally with Ollama: install, download, and serve your first model - Tech Layers","isPartOf":{"@id":"https:\/\/tech-layers.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/#primaryimage"},"image":{"@id":"https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/#primaryimage"},"thumbnailUrl":"https:\/\/tech-layers.com\/wp-content\/uploads\/2026\/10\/draft-1791102613916-f326a71d-media-1791103069348-5.png","datePublished":"2026-10-04T08:57:29+00:00","author":{"@id":"https:\/\/tech-layers.com\/#\/schema\/person\/2c529e368987c243e246492899943786"},"breadcrumb":{"@id":"https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/#breadcrumb"},"inLanguage":"ar","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/"]}]},{"@type":"ImageObject","inLanguage":"ar","@id":"https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/#primaryimage","url":"https:\/\/tech-layers.com\/wp-content\/uploads\/2026\/10\/draft-1791102613916-f326a71d-media-1791103069348-5.png","contentUrl":"https:\/\/tech-layers.com\/wp-content\/uploads\/2026\/10\/draft-1791102613916-f326a71d-media-1791103069348-5.png","width":960,"height":540},{"@type":"BreadcrumbList","@id":"https:\/\/tech-layers.com\/ar\/ollama-tutorial-download-serve-local-llm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tech-layers.com\/"},{"@type":"ListItem","position":2,"name":"Run an LLM locally with Ollama: install, download, and serve your first model"}]},{"@type":"WebSite","@id":"https:\/\/tech-layers.com\/#website","url":"https:\/\/tech-layers.com\/","name":"Tech Layers","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tech-layers.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ar"},{"@type":"Person","@id":"https:\/\/tech-layers.com\/#\/schema\/person\/2c529e368987c243e246492899943786","name":"waelalomayrah","image":{"@type":"ImageObject","inLanguage":"ar","@id":"https:\/\/secure.gravatar.com\/avatar\/39836bcb66495abe5daa50777dd830a334d19c890538a7977bda510b7b25b5de?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/39836bcb66495abe5daa50777dd830a334d19c890538a7977bda510b7b25b5de?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/39836bcb66495abe5daa50777dd830a334d19c890538a7977bda510b7b25b5de?s=96&d=mm&r=g","caption":"waelalomayrah"},"sameAs":["https:\/\/tech-layers.com"],"url":"https:\/\/tech-layers.com\/ar\/author\/waelalomayrah\/"}]}},"_links":{"self":[{"href":"https:\/\/tech-layers.com\/ar\/wp-json\/wp\/v2\/posts\/103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech-layers.com\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech-layers.com\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech-layers.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech-layers.com\/ar\/wp-json\/wp\/v2\/comments?post=103"}],"version-history":[{"count":0,"href":"https:\/\/tech-layers.com\/ar\/wp-json\/wp\/v2\/posts\/103\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tech-layers.com\/ar\/wp-json\/wp\/v2\/media\/102"}],"wp:attachment":[{"href":"https:\/\/tech-layers.com\/ar\/wp-json\/wp\/v2\/media?parent=103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech-layers.com\/ar\/wp-json\/wp\/v2\/categories?post=103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech-layers.com\/ar\/wp-json\/wp\/v2\/tags?post=103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}