A practical guide to running Claude Code with Ollama to generate Java Spring Boot applications using local or cloud-hosted LLMs. Covers installation, context window configuration, pulling models like gpt-oss and qwen3-coder, and using a CLAUDE.md file to define code generation requirements. Compares results across multiple models (glm-5, minimax, qwen3-coder) and shows the generated Spring Boot REST API code with PostgreSQL, JWT/OAuth2, and Kubernetes/Skaffold support. Highlights Ollama's cloud model offloading as a free alternative to paid APIs.

7m read timeFrom piotrminkowski.com
Post cover image
Table of contents
Source CodeRun Claude on OllamaGenerate a Java App with Claude CodeUsing Ollama Cloud ModelsConclusion

Sort: