Tutorials  /  AI/ML

Ollama Installation Guide: Run LLMs Locally on Linux, Windows & macOS

Ccentron Redaktion · March 2025 ·10 min read ·AI/ML, Tutorial

Ollama is an open-source solution that enables users to run large language models (LLMs) directly on their personal computers. It supports a variety of open-source LLMs in 2026, such as Llama 3, DeepSeek R1, Mistral, Phi-4, and Gemma 2, allowing them to operate without an internet connection. This approach improves security, safeguards privacy, and offers complete control over model customization and performance optimization.

Key Features of Ollama

Ollama comes with a built-in model repository, making it easy to find, download, and run LLMs locally. It also supports OpenWebUI, providing a user-friendly graphical interface for those who prefer not to use the command line. The platform is compatible with Linux, Windows, and macOS, eliminating the need for cloud-based APIs to execute models.

GPU

Need more GPU power for this project?

Dedicated NVIDIA GPUs (RTX A4000 to A100) from German data centers – from €92.59/month, billed by the hour, ready in minutes. Rent a GPU server →

Setting Up Ollama and Running LLMs

This guide outlines the steps required to install Ollama and configure large language models (LLMs) with all necessary dependencies on a local workstation.

Downloading and Installing Ollama

Ollama is designed to run on Linux, macOS, and Windows, allowing users to install it seamlessly using the official release package or script. Follow the steps below to install the latest version of Ollama on your system.

Step 1: Open a Terminal

Begin by launching a new terminal session on your system.

Step 2: Install Ollama on Linux

To download and install Ollama on Linux, execute the following command:

Console
$ curl -fsSL https://ollama.com/install.sh | sh

Step 3: Verify Installation

After installation, confirm that Ollama has been successfully installed by checking the version:

Console
$ ollama -v

Expected output:

Code
ollama version is 0.5.12

Step 4: List Available Models

To see all models available on your local machine, run:

Console
$ ollama list

Managing Ollama as a System Service on Linux

When installed on Linux, Ollama creates a system service called ollama.service to manage its operation. Follow these steps to check the service status and configure it to start at boot.

Check Ollama Service Status

To verify that Ollama is running, use:

Console
$ sudo systemctl status ollama

Expected output:

YAML
● ollama.service - Ollama Service
    Loaded: loaded (/etc/systemd/system/ollama.service; enabled; preset: enabled)
    Active: active (running) since Wed 2025-02-26 13:33:41 UTC; 5min ago
Main PID: 27138 (ollama)
    Tasks: 6 (limit: 2269)
    Memory: 32.2M (peak: 32.7M)
        CPU: 63ms
    CGroup: /system.slice/ollama.service
            └─27138 /usr/local/bin/ollama serve

Enable Ollama to Start at Boot

To configure Ollama to start automatically when your system boots up, execute:

Console
$ sudo systemctl enable ollama

Restart Ollama Service

If necessary, restart the Ollama service using:

Console
$ sudo systemctl restart ollama

Optional: Install AMD GPU ROCm Drivers for Ollama

For systems using AMD GPUs, download and install the ROCm-supported Ollama version:

Console
$ curl -L https://ollama.com/download/ollama-linux-amd64-rocm.tgz -o ollama-linux-amd64-rocm.tgz
$ sudo tar -C /usr/ -xzf ollama-linux-amd64-rocm.tgz

Installing Ollama on macOS

To install Ollama on macOS:

  1. Visit the official Ollama website.
  2. Click "Download" and select the latest macOS package.
  3. Extract the downloaded .zip file.
  4. Move Ollama.app to the Applications folder.

Verify Installation

To confirm that Ollama is installed correctly, open a terminal and run:

Console
$ ollama -v
$ ollama list
$ ollama serve

Installing Ollama on Windows

To install Ollama on Windows:

  1. Visit the official Ollama website.
  2. Download the latest .exe file.
  3. Run the installer and click "Install" to complete the setup.

Verify Installation

After installation, open Windows PowerShell and run:

Code
> ollama -v
> ollama list
> ollama serve

Downloading Large Language Models (LLMs) with Ollama

Ollama allows users to fetch models using the ollama pull command. Follow these steps to download and run models locally.

Step 1: Pull a Model

Use the command below to fetch a model from the Ollama repository:

Console
$ ollama pull [model]

Example: Download Mistral

To fetch the Mistral model, run:

Console
$ ollama pull mistral

Example: Download DeepSeek-R1 with 1.5B Parameters

To retrieve the DeepSeek-R1-Distill-Qwen model, execute:

Console
$ ollama pull deepseek-r1:1.5b

Example: Download Llama 3.3

Llama 3.3 is a large model (~40GB). Ensure sufficient storage before proceeding:

Console
$ ollama pull llama3.3

Step 2: Verify Downloaded Models

To check which models have been downloaded, use:

Console
$ ollama list

Example output:

Code
NAME                ID              SIZE      MODIFIED
llama3.3:latest     a6eb4748fd29    42 GB     21 seconds ago
deepseek-r1:1.5b    a42b25d8c10a    1.1 GB    4 minutes ago
mistral:latest      f974a74358d6    4.1 GB    26 minutes ago

Using Ollama to Run AI Models

Ollama allows users to execute, pull, and initialize large language models directly from its repository or from locally stored models. Before running a model, ensure that your system meets the required hardware specifications. Follow the steps below to test models and analyze their performance on your workstation.

Step 1: List Available Models

Check all models currently installed on your machine by running the following command:

Console
$ ollama list

Step 2: Run a Model

To execute a model, use the ollama run command. For example, to run the Qwen 2.5 instruct model with 1.5B parameters, use:

Console
$ ollama run qwen2.5:1.5b

Step 3: Provide a Prompt

Once the model is running, enter a prompt.

The model will generate a response in the terminal.

Step 4: Exit the Model

To exit Ollama, enter the following command:

Code
>>> /bye

Running a Different Model

You can also execute a model that is already available on your workstation. For instance, if you previously downloaded the DeepSeek R1 model, you can run it with:

Console
$ ollama run deepseek-r1:1.5b

Step 6: Enter a Prompt

For a test case, enter a mathematical challenge, such as:

Prompt: Generate a recursive fractal pattern description using only mathematical notations and symbolic logic.

Step 7: Observe the Model's Response

The AI will process the request and output a structured mathematical description.

Code
Okay, so I need to create a recursive fractal pattern using only mathematical notation and symbols. Hmm, that's an interesting challenge. Let me think about what I know about fractals and how they can be represented mathematically.
...................................

Step 8: Exit Ollama

To close the session, type:

Code
>>> /bye

Why Use Ollama to Run AI Models?

Different models have unique strengths and are designed for various tasks. Running models locally using Ollama allows users to benchmark their efficiency and effectiveness. The ollama run command enables you to execute available models instantly, while the ollama pull command fetches the latest versions from the official Ollama repository.

Managing Models with Ollama

Handling multiple large language models (LLMs) on your system requires effective management. Ollama provides commands to list, view details, stop, and remove models. Follow the steps below to manage models on your workstation.

Step 1: List Available Models

To see all models currently stored on your system, run:

Console
$ ollama list

Step 2: Display Model Details

To view detailed information about a specific model, such as Llama 3.3, use:

Console
$ ollama show llama3.3

Expected output:

Code
Model
  architecture        llama
  parameters          70.6B
  context length      131072
  embedding length    8192
  quantization        Q4_K_M

Parameters
  stop    "<|start_header_id|>"
  stop    "<|end_header_id|>"
  stop    "<|eot_id|>"

License
  LLAMA 3.3 COMMUNITY LICENSE AGREEMENT
  Llama 3.3 Version Release Date: December 6, 2024

Step 3: Stop a Running Model

If a model is actively running, stop it using the following command:

Console
$ ollama stop [model-name]

For example, to stop the DeepSeek R1 model:

Console
$ ollama stop deepseek-r1:1.5b

Step 4: Remove an Unused Model

To delete a model from your system, run:

Console
$ ollama rm mistral

Expected output:

Code
deleted 'mistral'

Setting Ollama Environment Variables

Ollama provides environment variables to fine-tune its behavior and optimize performance. Below are some commonly used variables:

  • OLLAMA_HOST: Defines the Ollama server address.
  • OLLAMA_GPU_OVERHEAD: Allocates VRAM for GPU processing.
  • OLLAMA_MODELS: Sets a custom directory for storing models.
  • OLLAMA_KEEP_ALIVE: Determines how long models remain loaded in memory.
  • OLLAMA_DEBUG: Enables debugging output.
  • OLLAMA_FLASH_ATTENTION: Activates performance optimizations.
  • OLLAMA_NOHISTORY: Disables session history logging.
  • OLLAMA_NOPRUNE: Prevents model cleanup during system boot.
  • OLLAMA_ORIGINS: Configures access permissions for remote connections.

Configuring Ollama Variables on Linux

To set environment variables for Ollama on Linux:

Step 1: Open the Service File

Console
$ sudo vim /etc/systemd/system/ollama.service

Step 2: Add Environment Variables

Insert the following lines under the [Service] section:

Code
[Service]
Environment="OLLAMA_DEBUG=1"
Environment="OLLAMA_HOST=0.0.0.0:11434"

Step 3: Apply Changes

Console
$ sudo systemctl daemon-reload
$ sudo systemctl restart ollama

Setting Ollama Variables on macOS

To configure environment variables on macOS:

Console
$ launchctl setenv OLLAMA_HOST "0.0.0.0"
$ ollama serve

Setting Ollama Variables on Windows

To configure variables on Windows:

  1. Open the Windows search menu and search for "Environment Variables".
  2. Select "Edit the System Variables".
  3. Click "Environment Variables".
  4. Click "New" to create a new entry.
  5. Enter the variable name and value.
  6. Click "OK" to save the settings.
  7. Click "Apply" to finalize the changes.

Conclusion

You have successfully installed and configured Ollama to run large language models on your local system. Whether running models locally or on a remote machine, Ollama provides an efficient solution. Use environment variables to enhance performance and allow remote access. For further information, refer to the Ollama GitHub repository.

%3Cscript%20type%3D%22application%2Fld%2Bjson%22%3E%0D%0A%7B%0D%0A%20%20%22%40context%22%3A%20%22https%3A%2F%2Fschema.org%22%2C%0D%0A%20%20%22%40type%22%3A%20%22HowTo%22%2C%0D%0A%20%20%22name%22%3A%20%22Running%20Large%20Language%20Models%20Locally%20with%20Ollama%22%2C%0D%0A%20%20%22description%22%3A%20%22This%20guide%20explains%20how%20to%20install%20Ollama%2C%20manage%20it%20as%20a%20system%20service%2C%20download%20large%20language%20models%2C%20run%20AI%20models%20locally%2C%20manage%20installed%20models%2C%20and%20configure%20environment%20variables%20on%20Linux%2C%20macOS%2C%20and%20Windows.%22%2C%0D%0A%20%20%22inLanguage%22%3A%20%22en-US%22%2C%0D%0A%20%20%22tool%22%3A%20%5B%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTool%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Terminal%20or%20command%20line%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTool%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Ollama%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTool%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22systemctl%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTool%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Windows%20PowerShell%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTool%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Vim%20or%20another%20text%20editor%22%0D%0A%20%20%20%20%7D%0D%0A%20%20%5D%2C%0D%0A%20%20%22supply%22%3A%20%5B%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSupply%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Linux%2C%20macOS%2C%20or%20Windows%20system%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSupply%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Internet%20connection%20for%20downloading%20Ollama%20and%20models%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSupply%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Sufficient%20storage%20space%20for%20large%20language%20models%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSupply%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Optional%3A%20AMD%20GPU%20with%20ROCm%20support%22%0D%0A%20%20%20%20%7D%0D%0A%20%20%5D%2C%0D%0A%20%20%22step%22%3A%20%5B%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSection%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Download%20and%20install%20Ollama%22%2C%0D%0A%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Open%20a%20terminal%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Launch%20a%20new%20terminal%20session%20on%20your%20system.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Install%20Ollama%20on%20Linux%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Run%20curl%20-fsSL%20https%3A%2F%2Follama.com%2Finstall.sh%20%7C%20sh%20to%20download%20and%20install%20Ollama%20on%20Linux.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%223%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Verify%20the%20installation%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Check%20whether%20Ollama%20was%20installed%20successfully%20by%20running%20ollama%20-v.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTip%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22An%20expected%20output%20may%20look%20like%3A%20ollama%20version%20is%200.5.12.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%224%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22List%20available%20models%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Run%20ollama%20list%20to%20display%20all%20models%20currently%20available%20on%20your%20local%20machine.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSection%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Manage%20Ollama%20as%20a%20system%20service%20on%20Linux%22%2C%0D%0A%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Check%20the%20Ollama%20service%20status%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Run%20sudo%20systemctl%20status%20ollama%20to%20verify%20that%20the%20Ollama%20service%20is%20active.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Enable%20Ollama%20at%20boot%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Enable%20Ollama%20to%20start%20automatically%20when%20the%20system%20boots%20by%20running%20sudo%20systemctl%20enable%20ollama.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%223%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Restart%20the%20Ollama%20service%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Restart%20the%20Ollama%20service%20if%20needed%20by%20running%20sudo%20systemctl%20restart%20ollama.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%224%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Optional%3A%20install%20AMD%20GPU%20ROCm%20support%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Download%20the%20ROCm-supported%20Ollama%20package%20by%20running%20curl%20-L%20https%3A%2F%2Follama.com%2Fdownload%2Follama-linux-amd64-rocm.tgz%20-o%20ollama-linux-amd64-rocm.tgz.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Extract%20the%20package%20with%20sudo%20tar%20-C%20%2Fusr%2F%20-xzf%20ollama-linux-amd64-rocm.tgz.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSection%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Install%20Ollama%20on%20macOS%22%2C%0D%0A%20%20%20%20%20%20%22position%22%3A%20%223%22%2C%0D%0A%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Download%20the%20macOS%20package%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Visit%20the%20official%20Ollama%20website%2C%20click%20Download%2C%20and%20select%20the%20latest%20macOS%20package.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Install%20the%20Ollama%20app%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Extract%20the%20downloaded%20ZIP%20file%20and%20move%20Ollama.app%20to%20the%20Applications%20folder.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%223%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Verify%20Ollama%20on%20macOS%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Open%20a%20terminal%20and%20verify%20the%20installation%20by%20running%20ollama%20-v%2C%20ollama%20list%2C%20and%20ollama%20serve.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSection%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Install%20Ollama%20on%20Windows%22%2C%0D%0A%20%20%20%20%20%20%22position%22%3A%20%224%22%2C%0D%0A%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Download%20the%20Windows%20installer%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Visit%20the%20official%20Ollama%20website%20and%20download%20the%20latest%20EXE%20installer.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Run%20the%20installer%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Run%20the%20installer%20and%20click%20Install%20to%20complete%20the%20setup.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%223%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Verify%20Ollama%20on%20Windows%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Open%20Windows%20PowerShell%20and%20verify%20the%20installation%20by%20running%20ollama%20-v%2C%20ollama%20list%2C%20and%20ollama%20serve.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSection%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Download%20large%20language%20models%20with%20Ollama%22%2C%0D%0A%20%20%20%20%20%20%22position%22%3A%20%225%22%2C%0D%0A%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Pull%20a%20model%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Use%20ollama%20pull%20%5Bmodel%5D%20to%20fetch%20a%20model%20from%20the%20Ollama%20repository.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Download%20Mistral%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Run%20ollama%20pull%20mistral%20to%20download%20the%20Mistral%20model%20locally.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%223%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Download%20DeepSeek-R1%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Run%20ollama%20pull%20deepseek-r1%3A1.5b%20to%20retrieve%20the%20DeepSeek-R1-Distill-Qwen%20model%20with%201.5%20billion%20parameters.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%224%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Download%20Llama%203.3%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Run%20ollama%20pull%20llama3.3%20to%20download%20Llama%203.3.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTip%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Llama%203.3%20is%20a%20large%20model%20of%20around%2040%20GB.%20Make%20sure%20sufficient%20storage%20is%20available%20before%20downloading%20it.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%225%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Verify%20downloaded%20models%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Run%20ollama%20list%20to%20view%20all%20locally%20stored%20models%2C%20including%20their%20name%2C%20ID%2C%20size%2C%20and%20modification%20date.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSection%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Run%20AI%20models%20with%20Ollama%22%2C%0D%0A%20%20%20%20%20%20%22position%22%3A%20%226%22%2C%0D%0A%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22List%20installed%20models%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Run%20ollama%20list%20to%20check%20which%20models%20are%20already%20installed%20on%20your%20machine.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Run%20a%20model%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Start%20a%20model%20with%20ollama%20run%20%5Bmodel%5D.%20For%20example%2C%20run%20ollama%20run%20qwen2.5%3A1.5b.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%223%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Provide%20a%20prompt%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Once%20the%20model%20is%20running%2C%20enter%20a%20prompt%20in%20the%20terminal%20so%20the%20model%20can%20generate%20a%20response.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%224%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Exit%20the%20model%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Exit%20the%20active%20Ollama%20session%20by%20entering%20%2Fbye.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%225%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Run%20a%20different%20local%20model%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Start%20another%20locally%20stored%20model%2C%20for%20example%20with%20ollama%20run%20deepseek-r1%3A1.5b.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%226%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Observe%20the%20model%20response%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Send%20a%20test%20prompt%20and%20observe%20how%20the%20AI%20model%20processes%20the%20request%20and%20returns%20a%20generated%20answer.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%227%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Close%20the%20session%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Close%20the%20Ollama%20session%20by%20typing%20%2Fbye.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSection%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Manage%20models%20with%20Ollama%22%2C%0D%0A%20%20%20%20%20%20%22position%22%3A%20%227%22%2C%0D%0A%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22List%20available%20models%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Run%20ollama%20list%20to%20display%20all%20models%20currently%20stored%20on%20your%20system.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Display%20model%20details%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Use%20ollama%20show%20%5Bmodel%5D%2C%20for%20example%20ollama%20show%20llama3.3%2C%20to%20view%20detailed%20information%20about%20a%20specific%20model.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%223%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Stop%20a%20running%20model%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Stop%20an%20active%20model%20with%20ollama%20stop%20%5Bmodel-name%5D.%20For%20example%2C%20run%20ollama%20stop%20deepseek-r1%3A1.5b.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%224%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Remove%20an%20unused%20model%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Delete%20an%20unused%20model%20from%20your%20system%20with%20ollama%20rm%20%5Bmodel%5D.%20For%20example%2C%20run%20ollama%20rm%20mistral.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTip%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22After%20successful%20removal%2C%20the%20output%20may%20look%20like%3A%20deleted%20%27mistral%27.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSection%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Configure%20Ollama%20environment%20variables%22%2C%0D%0A%20%20%20%20%20%20%22position%22%3A%20%228%22%2C%0D%0A%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Open%20the%20Linux%20service%20file%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22On%20Linux%2C%20open%20the%20Ollama%20service%20file%20with%20sudo%20vim%20%2Fetc%2Fsystemd%2Fsystem%2Follama.service.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Add%20environment%20variables%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Add%20variables%20such%20as%20Environment%3D%5C%22OLLAMA_DEBUG%3D1%5C%22%20and%20Environment%3D%5C%22OLLAMA_HOST%3D0.0.0.0%3A11434%5C%22%20under%20the%20%5BService%5D%20section.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%223%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Apply%20Linux%20changes%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Apply%20the%20changes%20by%20running%20sudo%20systemctl%20daemon-reload%20and%20then%20restart%20Ollama%20with%20sudo%20systemctl%20restart%20ollama.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%224%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Set%20environment%20variables%20on%20macOS%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22On%20macOS%2C%20set%20variables%20with%20launchctl%20setenv%20OLLAMA_HOST%20%5C%220.0.0.0%5C%22%20and%20then%20start%20Ollama%20with%20ollama%20serve.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%225%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Set%20environment%20variables%20on%20Windows%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22On%20Windows%2C%20open%20the%20Environment%20Variables%20settings%2C%20create%20a%20new%20variable%20with%20a%20name%20and%20value%2C%20and%20confirm%20the%20changes%20with%20OK%20and%20Apply.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%7D%0D%0A%20%20%5D%0D%0A%7D%0D%0A%3C%2Fscript%3E

Jetzt 200 € Guthaben sichern

Testen Sie Ihr Setup auf ccloud³

Registrieren Sie sich in der ccloud³ und erhalten Sie 200 € Startguthaben für Ihr Projekt – z. B. für eine PostgreSQL-VM mit automatischen Backups.

centron Redaktion Technische Redaktion

Das Redaktionsteam von centron schreibt Anleitungen aus dem Betriebsalltag: getestet auf unserer eigenen Plattform, betrieben im Rechenzentrum in Hallstadt bei Bamberg.

Kategorie AI/ML
Teilen
Noch offene Fragen?

Unser Team hilft Ihnen bei Ihrem konkreten Setup weiter – von Menschen, die die Plattform selbst betreiben.

War dieses Tutorial hilfreich?

Ihre Antwort wird anonym gespeichert und hilft uns, die Tutorials zu verbessern.

Kommentare

Noch keine Kommentare – stellen Sie die erste Frage zu diesem Tutorial.

Zum Kommentieren anmelden

Kommentare stehen centron-Kunden offen. Melden Sie sich in Ihrem Konto an, um eine Frage zu diesem Tutorial zu stellen.

Weiterlesen

Das könnte Sie auch interessieren

Jetzt kostenlos anfangen

Melden Sie sich an und erhalten Sie in den ersten 60 Tagen ein Guthaben von 200 € bei centron.

Dieses Werbeangebot gilt nur für neue Konten. Angebot ausschließlich für Gewerbetreibende.

Jetzt loslegen Sales kontaktieren