KDnuggets Releases Ollama Cheat Sheet for Port 11434 Local LLM Management
Updated
Updated · KDnuggets · Sep 30
KDnuggets Releases Ollama Cheat Sheet for Port 11434 Local LLM Management
1 articles · Updated · KDnuggets · Sep 30
Summary
KDnuggets published a new Ollama cheat sheet focused on running, configuring and optimizing local language models through Ollama’s localhost server and OpenAI-compatible interface.
Port 11434 sits at the center of that setup: Ollama serves models over HTTP, while ollama ps shows whether a model still fits in memory or has spilled from GPU to CPU, slowing generation.
The guide also flags a common macOS pitfall—desktop-launched Ollama ignores shell exports in .zshrc, so settings such as context length or model directory must be set with launchctl setenv.
Structured output is another focus: passing a JSON schema to format constrains replies to a fixed shape, while plain json only guarantees valid JSON without specific keys.
The cheat sheet rounds out local deployment basics with /api/chat, /api/embed, the /v1/ compatibility layer, disk-management commands, Modelfiles and environment variables controlling model residency and concurrency.