# Ollama CLI (Ollama)

The Ollama command-line distribution for running open models, managing local inference and exposing a REST API; this cask does not install the desktop app.

> This is the Markdown version of the Ollama CLI (Ollama) page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/ollama-binary>

- **Latest version**: `0.40.18`
- **Developer**: Ollama
- **Homepage**: <https://ollama.com/>
- **Categories**: [AI Tools](https://opennavo.com/categories/ai)
- **Install**: `brew install --cask ollama-binary`
- **30-day installs**: 633
- **Homebrew**: Available; updated by Homebrew
- **Download URL**: <https://github.com/ollama/ollama/releases/download/v0.40.18/ollama-darwin.tgz>
- **SHA-256**: `015261f434d31d7f0781f8ba6b59cc8e1f70ecb562a4e6db44dfdd5e02f7e562`
- **Commands**: ollama

SHA-256 only checks that the download is complete; it is not a security certification.

## Installation and removal contents

```json
[
  {
    "declaration": {
      "binary": [
        "ollama"
      ],
      "target": "$HOMEBREW_PREFIX/bin/ollama"
    },
    "phase": "install",
    "sources": [
      "ollama"
    ],
    "target": "$HOMEBREW_PREFIX/bin/ollama",
    "type": "binary"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": "~/.ollama"
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## About

Ollama provides a command-line workflow for running open models and a REST API for applications that need model inference. This exact Homebrew package, ollama-binary, installs the ollama executable rather than Ollama.app. It conflicts with the separate ollama-app cask on macOS; desktop-app screenshots should not be treated as screenshots of this CLI distribution.

### Model workflow
Use the command-line entry point to choose a model or connect supported coding-agent integrations. The official README documents running models interactively, launching integrations such as Claude Code or Codex, and finding models in the Ollama library. Model downloads are separate from the runtime archive, so the package download size is not the storage required for a model collection.

### API and integrations
A local REST API supports running and managing models, with a documented chat example using localhost:11434/api/chat. Official Python and JavaScript libraries provide programmatic clients. Community interfaces and development tools can connect to Ollama, but they are separate products and are not bundled graphical interfaces supplied by this cask.

### Apple-silicon runtime and requirements
Version 0.40.0 automatically uses MLX on Apple-silicon devices for architectures supported by that runtime, including documented chat, decision and embedding models. Version 0.40.1 removes the account step from CLI onboarding and adds server proxying for cloud usage and balance APIs. Features involving cloud services are distinct from running a model locally. Homebrew currently records 0.40.10, distributes the official Darwin archive and requires macOS Sonoma 14 or later.

### Sources
- [Official repository and README](https://github.com/ollama/ollama)
- [CLI reference](https://docs.ollama.com/cli)
- [API reference](https://docs.ollama.com/api)
- [Official 0.40.0 notes](https://github.com/ollama/ollama/releases/tag/v0.40.0)
- [Official 0.40.1 notes](https://github.com/ollama/ollama/releases/tag/v0.40.1)
- [Homebrew binary cask](https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/o/ollama-binary.rb)

## System requirements

- macOS 14 or later · Version: 0.40.18 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/ollama-binary.rb> · Checked 2026-11-27
  - <https://github.com/ollama/ollama/releases/download/v0.40.18/ollama-darwin.tgz>
  - SHA-256: `015261f434d31d7f0781f8ba6b59cc8e1f70ecb562a4e6db44dfdd5e02f7e562`
- macOS 14 or later · Version: 0.40.18 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/ollama-binary.rb> · Checked 2026-11-27
  - <https://github.com/ollama/ollama/releases/download/v0.40.18/ollama-darwin.tgz>
  - SHA-256: `015261f434d31d7f0781f8ba6b59cc8e1f70ecb562a4e6db44dfdd5e02f7e562`

## Ollama CLI (Ollama) security facts

Only facts that can be checked, each with its source and date. This is not a safety certification. To check the files you downloaded, scan them on your Mac with OpenNavo.

- <https://github.com/ollama/ollama> · Open source: Yes — <https://github.com/ollama/ollama> · Checked 2026-11-14

## Uninstall

- `brew uninstall --cask ollama-binary`

A regular uninstall removes the app and keeps its settings and caches.

### Deep clean (optional)

- `brew uninstall --zap --cask ollama-binary`

`--zap` also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out `--zap`.

A regular uninstall removes the app and keeps its settings and caches.

- Files and folders: `~/.ollama` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/ollama-binary.rb> · These entries come from the Homebrew definition, checked 2026-11-27. They say what it declares, not what is on your Mac.

## Latest release notes

### 0.40.19-rc0 (2026-11-26)

#### What's Changed
* inkling2: faster short histories, draft proposals and conv snapshots by @dhiltgen in https://github.com/ollama/ollama/pull/19881
* mlxrunner: compact Engram history buffers by @pdevine in https://github.com/ollama/ollama/pull/19913
* bump llama-server by @pdevine in https://github.com/ollama/ollama/pull/19917

**Full Changelog**: https://github.com/ollama/ollama/compare/v0.40.18...v0.40.19-rc0

## Facts and sources

- <https://opennavo.com/apps/ollama-binary>
- <https://opennavo.com/apps/ollama-binary/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/ollama-binary.rb> · Checked 2026-11-27
- <https://formulae.brew.sh/cask/ollama-binary>
- <https://github.com/ollama/ollama> · Checked 2026-11-14
