How to Run a Local AI Coding Agent Using Ollama and Aider on Windows WSL2
A developer has documented a fully local AI coding setup using Ollama on Windows 11 and Aider inside Ubuntu running on WSL2, with no cloud services or dedicated GPU involved. The configuration uses Alibaba's Qwen2.5-Coder model, running in CPU-only mode on a machine with an Intel Core i7-1355U and 48 GiB of RAM. Ollama is kept on the Windows host to avoid duplicating model files, while Aider operates in the Linux environment where command-line development tools work more naturally. A key technical hurdle was enabling WSL2 mirrored networking so that Aider inside Ubuntu could communicate with the Ollama server exposed on Windows port 11434. The setup prioritizes keeping both source code and data entirely on the local machine, making it suitable for privacy-conscious developers without high-end AI hardware.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in