bettersorted Logo
Hands typing on a laptop with a software interface
Open source & technologies

Installing Ollama: Local AI on Windows, Mac and Linux in 10 Minutes

AuthorMuhamed Alahmed
Published on
Reading time3 min
In short

On Windows and macOS you install Ollama with an installer, on Linux with a single command. Then you load a model with “ollama run” and chat locally right away. Two more steps are needed for network access and an interface such as Open WebUI.

Installing Ollama takes just a few minutes: on Windows and macOS you download the installer from ollama.com and run it. On Linux one command is enough: `curl -fsSL https://ollama.com/install.sh | sh`. Then start your first local AI model with `ollama run` and a model name – for example `ollama run qwen3`. It runs entirely on your own machine, without any data going to a cloud.

Step

Windows / macOS

Linux

1. Install

installer from ollama.com

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

2. Load and start a model

ollama run qwen3

ollama run qwen3

3. Check

ollama list shows installed models

ollama list

4. API

runs at http://localhost:11434

runs as a service on port 11434

What hardware you need

Memory is what matters: a model should fit completely into graphics memory (VRAM) or, on Apple computers, into the shared memory. Rule of thumb for the usual compressed models:

Model size

Memory needed (approx.)

Typical hardware

3–4 billion parameters

3–4 GB

laptop, even without a graphics card

7–8 billion

5–6 GB

graphics card with 8 GB or Mac with 16 GB

12–14 billion

9–10 GB

graphics card with 12–16 GB

30+ billion

20 GB and more

workstation or server graphics card

Without a suitable graphics card, Ollama computes on the processor – that works, but is much slower. What is worth it for continuous use in a company is covered in hardware for your own AI.

The most important commands

  • `ollama run <model>` – load a model (downloads it the first time) and start a chat
  • `ollama pull <model>` – download a model only
  • `ollama list` – show installed models
  • `ollama ps` – running models and memory use
  • `ollama rm <model>` – delete a model

Sharing it on the network

By default, Ollama only listens to its own machine. If colleagues or a server should access it, set the environment variable `OLLAMA_HOST=0.0.0.0` and restart the service. Important: Ollama has no login of its own. Never expose the port unprotected to the internet – only on the internal network or behind an interface with a login.

Adding a ChatGPT-style interface

The command line is not for most employees. With Open WebUI you get a chat interface with login, user management and document search that talks directly to Ollama. Whether Ollama or LM Studio suits you better is shown in Ollama or LM Studio?; the basics are explained in Ollama explained simply.

Frequently asked questions

Is Ollama free?

Yes. Ollama is open source under the MIT licence and free for companies too. The models have their own licences.

Does Ollama run without a graphics card?

Yes, the processor then does the work. Small models with 3–4 billion parameters are usable that way; larger ones become noticeably slow.

Which model should I install first?

For German and English, current models from Qwen, Mistral or Llama in a size that fits your memory work well. Try two or three models with your own texts.

Where does Ollama store the models?

In the user directory under .ollama/models, or in the Ollama user’s directory for the Linux service. The path can be changed with OLLAMA_MODELS.

Is Ollama secure?

The data stays on your machine. Because Ollama has no login, the port must not be open to the internet.

As of November 2026. Software changes quickly – the documentation and licence of each project are authoritative.

Portrait of Muhamed Alahmed, founder of bettersorted
About the author

Muhamed Alahmed

With over 10 years’ experience in IT, I develop solutions that not only work from a technical perspective, but also create real added value and open up new possibilities.

More about bettersorted →

More articles

Newsletter

Stay up to date on AI topics

Short updates on AI automation, funding programs and new posts — no spam, unsubscribe anytime.

We use Brevo as our marketing platform. By submitting, you agree that your data will be transferred according to Brevo's privacy policy .

CallEmailContact formSEO/GEO Check