Skip to content

Installing Ollama and Downloading a Local Model ​

Ollama is a lightweight application that makes it easy to run and manage large language models (LLMs) locally on your computer without needing cloud infrastructure. It provides a simple interface to download, start, and interact with models.

This guide will walk you through installing Ollama and running a local model.

1. Install Ollama ​

Install the software directly from Ollama's official website.

2. Verify Installation ​

After installation, confirm that Ollama is installed by running:

bash
ollama --version

You should see the installed version number.

3. Verify Ollama Service ​

Verify that Ollama is running as a background service by visiting http://localhost:11434 in a browser. You should see the message:

Ollama is running

4. Download and Run a Model ​

Ollama makes it simple to pull and run models. For example, to download and run Llama 3.2:

bash
ollama run llama3.2

The first time you run this command, Ollama will:

  • Download the llama3.2 model.
  • Start an interactive session where you can chat with the model.

5. Managing Models ​

  • List installed models:

    bash
    ollama list
  • Pull a specific model (without running it):

    bash
    ollama pull gemma3
  • Run a specific model:

    bash
    ollama run gemma3
  • Remove a model:

    bash
    ollama rm gemma3

6. Stopping Ollama ​

To stop the Ollama service:

bash
pkill ollama

Alternatively, you can quit the program by clicking the Ollama icon in your system menu (menu bar on macOS or system tray on Windows/Linux) and selecting Quit.