Check my levelCoursesProgramsFor teamsPricing
UKSign inSign up
Check my levelCoursesProgramsFor teamsPricingClaude quizPromptsBlogFAQSearchSign upUK
AcademlCoursesLLM Engineer: From Local Setup to ProductionRunning LLMs Locally with Ollama
An engineer route map: Ollama, RAG, LoRA, vLLMThe ollama run command and a VRAM gauge the model fits intoA shelf of open-weight models: DeepSeek, Qwen, Mistral, Llama
Course

LLM Engineer: From Local Setup to Production

Module 1 · Running LLMs Locally
01Running LLMs Locally with Ollama02Embeddings and RAG Pipeline03Advanced Retrieval: Hybrid Search and Reranking
Module 2 · Fine-Tuning
04When to Fine-Tune and Dataset Preparation05LoRA and QLoRA: Adapters for Fine-Tuning06Model Export: GGUF, Ollama, Hugging Face Hub
Module 3 · Production and Security
07Inference Optimization: vLLM, Batching, Flash Attention08LLM Security: Injections, Leakage, PII09LLMOps: Evaluation, Monitoring, and Cost Tracking
LLM Engineer: From Local Setup to Production · Lesson 1

Running LLMs Locally with Ollama

Installing Ollama on Linux, macOS and Windows, choosing an open model (Gemma 4, Ministral 3, Qwen3.8), Q4/Q8 quantization, Ollama cloud models, connecting a coding agent, and local vs API tradeoffs.

35 min readUpdated Nov 9, 20262 questions in quizReady prompt included

Ollama: a local server for LLMs

Ollama packages the model and the runtime into one program. Once it is installed, the model is available through an OpenAI-compatible REST API on port 11434.

# install: Linux/macOS
curl -fsSL https://ollama.com/install.sh | sh

# install: Windows (PowerShell)
irm https://ollama.com/install.ps1 | iex

# download and run Gemma 4 E4B (the default tag)
ollama pull gemma4
ollama run gemma4 "Hello!"

# Ministral 3 8B from Mistral (~6 GB)
ollama pull ministral-3:8b

On macOS and Windows there is also an Ollama desktop app with a chat window, so you can pick and run a model without the terminal.

The rest of this lesson opens after a free sign-up

Sign up with email or Google: the first two lessons of every course stay open for good, and the whole catalog is open for 7 days. No card needed.

Sign up freeOr a trial lesson, no sign-up →
In this lesson
Ollama: a local server for LLMsWhich model to pickQuantization: Q4 vs Q8Python clientOllama cloud modelsA local model for a coding agentLM Studio: an alternative with a GUILocal vs APIPracticeReady promptQuiz
CoursesLLM coursesFor teamsPricingFAQBlogAboutPrivacy
© 2026 AcademlDevelopment & promotion —MMIX — Marketing Mix
Get started free