October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

Ollama Cheat Sheet: Install, Run, and Manage Local Language Models

A practical Ollama guide to installing the software, choosing and running models, managing local downloads, customizing Modelfiles, and using the local REST API.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Ollama lets you download and run language models on your own computer, then manage them from a command line or use them through a local REST API. The core workflow is: install Ollama for your platform, run a model with ollama run, inspect or remove local models with a few CLI commands, and create a custom model when you need different settings or a local GGUF file.

Install Ollama for your platform

Use Ollama’s official quickstart to choose the current instructions for macOS, Windows, Linux, or Docker. The available method differs by platform: the quickstart links macOS and Windows downloads, provides a Linux shell installer and manual instructions, and points to the official Docker image.

As an Amazon Associate I earn from qualifying purchases.

For Linux, the quickstart shows this installer command:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
curl -fsSL https://ollama.com/install.sh | sh

That command is the documented Linux path, not a universal installation command. For other platforms or a container deployment, follow the corresponding current instructions in the Ollama documentation index.

Choose a model that fits your machine

Ollama’s model library contains models and variants with very different download sizes. For example, the quickstart lists Llama 3.2 1B at 1.3 GB, Llama 3.2 3B at 2.0 GB, Llama 3.1 70B at 40 GB, and Llama 3.1 405B at 231 GB. These are example artifact sizes, not estimates of the RAM needed to run a model.

As rough minimum RAM guidance, Ollama’s quickstart gives at least 8 GB for its 7B examples, 16 GB for 13B, and 32 GB for 33B. Treat these as guidance rather than a guarantee: a model’s quantization, context length, device, and workload affect whether it runs well. Check the current Ollama model library and the requirements for the exact model tag before downloading.

Download and start a model

The quickest way to begin is to run a model by name. Ollama downloads it if needed and starts an interactive session:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
ollama run llama3.2

Model tags identify variants; the quickstart examples include llama3.2:1b, llama3.1:70b, and llama3.2-vision:90b. Check the model library for currently available names and tags rather than assuming examples will remain unchanged.

To download a model without starting an interactive session, or to update a local copy, use:

ollama pull llama3.2

Ollama says a pull can update a local model by downloading only the difference. Replace the example name with the model and tag you want.

Inspect, stop, copy, or remove local models

Use the command that matches what you need to check or change:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Task Command What it does
See downloaded models ollama list Lists models stored locally.
See models currently loaded ollama ps Shows models active in memory.
Inspect a model ollama show llama3.2 Displays information about the named model.
Stop a running model ollama stop llama3.2 Stops the named model.
Copy a model under another name ollama cp llama3.2 my-llama Creates a copy with the destination name.
Remove a local model ollama rm llama3.2 Deletes the named model from local storage.

Substitute the exact model name or tag shown by ollama list when using a management command.

Import a local GGUF or customize a model

Import a GGUF file

To build a model from a local GGUF file, create a file named Modelfile whose FROM line points to that file. Then create and run the named Ollama model:

ollama create example -f Modelfile
ollama run example

The path in FROM should identify the GGUF file on your machine. Consult the current importing guide for supported formats and exact file requirements.

Set parameters or a system message

A Modelfile can also start from a model in Ollama’s library and specify parameters or a system message. For example:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
FROM llama3.2
PARAMETER temperature 0.7
SYSTEM "You are a concise writing assistant."

Save the file as Modelfile, then build and run the customized name:

ollama create my-assistant -f Modelfile
ollama run my-assistant

This illustrates a basic customization pattern, not every supported directive. The current Modelfile reference documents additional details.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Use Ollama through its local API

Ollama exposes a REST API at localhost:11434. The quickstart shows these basic POST requests; they assume the Ollama service is running locally.

Generate from a prompt

curl http://localhost:11434/api/generate -d '{
  "model": "llama3.2",
  "prompt": "Explain local language models in one paragraph."
}'

Send a chat message

curl http://localhost:11434/api/chat -d '{
  "model": "llama3.2",
  "messages": [
    {"role": "user", "content": "Explain local language models in one paragraph."}
  ]
}'

When Ollama is not running through its desktop application, the quickstart documents starting the service with:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
ollama serve

These examples show the basic endpoints and request shapes; see the current API reference for endpoint details and full request and response behavior.

Pick an interface based on how you work

The Ollama quickstart links a directory of community integrations, including web and desktop clients, terminal tools, and cloud deployment integrations. It is a list, not a tested ranking or endorsement. Choose by where inference will run and how you want to interact:

  • Terminal: Run models directly with the Ollama CLI.
  • Desktop or web chat: Look for a client that connects to your local Ollama instance if you want a standalone chat interface.
  • Your own application: Use the local REST API when your app needs to send prompts or chat messages programmatically.
  • Cloud deployment: Check where the integration sends requests and runs inference; a cloud integration is not the same as running a model solely on your computer.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.