Ollama and Continue: local coding setup in VS Code
Learn to connect Ollama to Continue in VS Code, try Qwen 2.5-Coder 14B, and generate Python scripts with hardware limits in mind.
Player not loading? Watch on YouTube
This tutorial builds a local LLM coding setup with Ollama and the Continue extension for VS Code. The presenter covers Ollama installation for Mac, Windows and Linux, then downloads Qwen 2.5-Coder 14B and tests it in the terminal with a recursive Python factorial prompt.
The editor setup involves installing Continue and selecting the model downloaded through Ollama. Examples include a random-number script, a calculator and a basic HTML page. The presenter also pastes existing calculator code into chat for revision and requests calculator implementations in Rust, Ruby, Python and Go. These are small coding exercises; they do not establish reliability on large codebases.
Hardware limits receive attention throughout. The speaker suggests around 16 GB of RAM and an RTX 4060 for smaller and medium-size models, but does not provide a measured benchmark or a precise memory requirement for the demonstrated 14B model. Weaker machines may respond slowly and feel sluggish during generation.
The presenter describes the setup as usable offline after model downloads, with prompts and code staying on the machine. The comparison with cloud services centers on control and subscription costs, while acknowledging performance tradeoffs. The closing advice favors incremental tasks over asking for a large, complex application in one prompt.