summaryrefslogtreecommitdiff
path: root/gemfeed/2025-08-05-local-coding-llm-with-ollama.html
diff options
context:
space:
mode:
Diffstat (limited to 'gemfeed/2025-08-05-local-coding-llm-with-ollama.html')
-rw-r--r--gemfeed/2025-08-05-local-coding-llm-with-ollama.html22
1 files changed, 21 insertions, 1 deletions
diff --git a/gemfeed/2025-08-05-local-coding-llm-with-ollama.html b/gemfeed/2025-08-05-local-coding-llm-with-ollama.html
index b47dda81..1bccab43 100644
--- a/gemfeed/2025-08-05-local-coding-llm-with-ollama.html
+++ b/gemfeed/2025-08-05-local-coding-llm-with-ollama.html
@@ -27,6 +27,26 @@
/_| |_\_________________/ quantised \
</pre>
<br />
+<h2 style='display: inline' id='table-of-contents'>Table of Contents</h2><br />
+<br />
+<ul>
+<li><a href='#local-llm-for-coding-with-ollama-on-macos'>Local LLM for Coding with Ollama on macOS</a></li>
+<li>⇢ <a href='#why-local-llms'>Why Local LLMs?</a></li>
+<li>⇢ <a href='#hardware-considerations'>Hardware Considerations</a></li>
+<li>⇢ <a href='#basic-setup-and-manual-code-prompting'>Basic Setup and Manual Code Prompting</a></li>
+<li>⇢ ⇢ <a href='#installing-ollama-and-a-model'>Installing Ollama and a Model</a></li>
+<li>⇢ ⇢ <a href='#example-usage'>Example Usage</a></li>
+<li>⇢ <a href='#agentic-coding-with-aider'>Agentic Coding with Aider</a></li>
+<li>⇢ ⇢ <a href='#installation'>Installation</a></li>
+<li>⇢ ⇢ <a href='#agentic-coding-prompt'>Agentic coding prompt</a></li>
+<li>⇢ ⇢ <a href='#compilation--execution'>Compilation &amp; Execution</a></li>
+<li>⇢ ⇢ <a href='#the-code'>The code</a></li>
+<li>⇢ <a href='#in-editor-code-completion'>In-Editor Code Completion</a></li>
+<li>⇢ ⇢ <a href='#installation-of-lsp-ai'>Installation of <span class='inlinecode'>lsp-ai</span></a></li>
+<li>⇢ ⇢ <a href='#helix-configuration'>Helix Configuration</a></li>
+<li>⇢ ⇢ <a href='#code-completion-in-action'>Code completion in action</a></li>
+<li>⇢ <a href='#conclusion'>Conclusion</a></li>
+</ul><br />
<span>With all the AI buzz around coding assistants, and being a bit concerned about being dependent on third-party cloud providers here, I decided to explore the capabilities of local large language models (LLMs) using Ollama. </span><br />
<br />
<span>Ollama is a powerful tool that brings local AI capabilities directly to your local hardware. By running AI models locally, you can enjoy the benefits of intelligent assistance without relying on cloud services. This document outlines my initial setup and experiences with Ollama, with a focus on coding tasks and agentic coding.</span><br />
@@ -445,7 +465,7 @@ content = "{CODE}"
<br />
<span>Other related posts are:</span><br />
<br />
-<a class='textlink' href='./2025-08-05-local-coding-llm-with-ollama.html'>2025-08-05 Local LLM for Coding with Ollama (You are currently reading this)</a><br />
+<a class='textlink' href='./2025-08-05-local-coding-llm-with-ollama.html'>2025-08-05 Local LLM for Coding with Ollama on macOS (You are currently reading this)</a><br />
<a class='textlink' href='./2025-06-22-task-samurai.html'>2025-06-22 Task Samurai: An agentic coding learning experiment</a><br />
<br />
<a class='textlink' href='../'>Back to the main site</a><br />