Error message

  • Warning: preg_match(): Unknown modifier '2' in os_check() (line 252 of /var/www/custom/tools/tools.inc).
  • Warning: preg_match(): Unknown modifier 'T' in os_check() (line 252 of /var/www/custom/tools/tools.inc).

Basic Commands

Forums: 
Command Purpose
ollama pull <model> Download a model from the Ollama registry.
ollama run <model> [<prompt>] Start an interactive session (or one‑off inference if a prompt is supplied).
ollama create <model> -f <Modelfile> Build a custom model from a Modelfile.
ollama push <model> Upload a locally‑built model to your Ollama hub.
ollama list List all models stored locally.
ollama ps Show currently running Ollama server processes.
ollama rm <model> Delete a model from the local cache.
ollama serve Run Ollama as a background HTTP API server (default on port 11434).