CosmolinkOS Board now

Ollama for beginners: what it is and how to use it

FOR BEGINNERS5 MIN READ
COSMO
COSMO'S SHORT ANSWER

Ollama is a free app that downloads AI models and runs them on your own computer. You install it, pick a model and start chatting. A model you have downloaded runs on your machine, so your words stay there.

New to Ollama? This Ollama for beginners guide shows you how to install it, download your first AI model and chat with it, and gives you the handful of commands you need.

A desktop computer on a floating platform while a glowing cube comes down into it on a beam of light.
One command downloads a model and starts a chat.

01What is Ollama?

Ollama is a free, open-source app for running AI models on your own computer. Think of it as an app store and a player in one: it downloads a model from its library, runs it, and lets you chat with it.

It works on Windows, Mac and Linux, and there is a Docker version too. Other apps on your computer can also use the models Ollama runs.

02How to install Ollama

  1. Go to ollama.com/download and download the Windows installer.
  2. Open the file and follow the steps.
  3. Ollama starts on its own and sits in the taskbar, near the clock.

03Run your first AI model

Open a terminal. On Windows that is PowerShell, and on a Mac it is the Terminal app. Type this and press Enter:

ollama run llama3.2

The first time, Ollama downloads the model, which is about 2 GB. Then you see a prompt where you can type a question. To leave the chat, type /bye.

Llama 3.2 is a small model from Meta. It is a good first try because it is quick to download and runs on most computers.

04The six Ollama commands you need

Everyday Ollama commands
CommandWhat it does
ollama run llama3.2Starts a chat with a model. Downloads it first if you don't have it.
ollama pull llama3.2Downloads a model without starting a chat.
ollama lsLists the models you have downloaded.
ollama psShows which models are running now, and whether they are on the graphics card.
ollama stop llama3.2Stops a running model.
ollama rm llama3.2Deletes a model to free up disk space.
COSMO'S TIP

Run ollama ps while a chat is open. If it says 100% GPU, the whole model fits on your graphics card and answers come fast.

05Which Ollama model should you pick?

Model names have a size after the colon, like llama3.1:8b. The number is the size in billions of settings, and bigger models need more memory.

Use the checker in Can my PC run local AI? to see which sizes your computer can run. If you have an 8 GB graphics card, Best local AI models for 8 GB lists six good ones to try.

PING'S TIP

Models are big files. Run ollama ls now and then, and remove the ones you no longer use with ollama rm.

06Does Ollama keep your chats private?

A model you have downloaded runs on your own computer. Ollama says it does not see your prompts or data when you run locally.

Ollama also offers optional cloud models. Their names end in :cloud, they need you to sign in, and they run on Ollama's servers, so your request is sent over the internet. If you want everything to stay at home, use downloaded models only.

Local AI or online AI: what stays private explains the difference in more detail.

07Using Ollama with other apps

Ollama listens for other apps on your computer at http://localhost:11434. That is how a chat page like Open WebUI, or an agent app, can use your models.

By default only apps on the same computer can reach it. Docker Compose for beginners shows a Compose file that runs Ollama and Open WebUI together.

08What this means for CosmolinkOS

GOOD TO KNOW

In CosmolinkOS, local brains run through Ollama on your own hardware and don't need an API key. When you set it up, CosmolinkOS checks your hardware and suggests a mix of local and online brains. The full list of models it works with is coming soon.

09Questions people ask

Is Ollama free?

Yes. Ollama is free and open source, and the models in its library are free to download. Its optional cloud models need an account.

Does Ollama need a graphics card?

No. Small models run on the processor alone, just more slowly. A graphics card makes answers come faster and lets you run bigger models.

Does Ollama send my chats anywhere?

Not when you run a model you have downloaded: it runs on your own computer. Ollama's optional cloud models, with names ending in :cloud, run on Ollama's servers, so those requests are sent over the internet.

Where does Ollama keep its models?

In a folder called .ollama inside your user folder on Windows and Mac, and in /usr/share/ollama/.ollama on Linux. Models are big files, so delete the ones you don't use with ollama rm.

How do I update Ollama?

On Windows and Mac the app downloads updates on its own. On Linux, run the install command again.

Related guides: Ollama vs LM Studio, six Ollama alternatives and the best Ollama models for coding.

WAITLIST OPENBe first to hear when CosmolinkOS is ready to try.

▸Keep going