How to Install and Use Ollama: Your Offline AI Assistant

Introduction

What is Artificial Intelligence?

What Are LLMs and What Is Ollama?

An empty Command Prompt window displaying the current Windows version and user.

Ollama Models

Various Ollama model listings, including deepseek-r1, llama 3.3, and mistral.

Running Your First Model

a marked-up screenshot of mistral-small's model listing, highlighting the version dropdown and command line to paste, two elements listed after the model's information.

Install the Model

Prompt the Model

Available Commands:

Keyboard Shortcuts:

Uninstall the Model

A Note on Screen Reader Support

Windows

Mac

Optional: Graphical User Interface (GUI)