Ollama CLI (Ollama)
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.
brew install --cask ollama-binary- 30-day installs
- 633
- #404 in App
- 1-year installs
- 1.1K
- Last 365 days
- Latest version
- 0.40.18
- Download size
- 189MB
- tgz
- Release cadence
- Weekly
- 14 releases in 30 days
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
At a glance
- Price
- Free with in-app purchases
- System
- macOS 14 or later
- Chip
- Apple silicon · Intel
- Auto-updates
- No
- Repository
- Open source · MIT · Updated 0 days ago★188.2K
- Developer
- Ollama
- Homebrew
- Available; updated by Homebrew
- Also known as
- Ollama, ollama-binary
- Homepage
- ollama.com
- Token
- ollama-binary
Checked
What’s new in 0.40.19-rc0
New · From GitHub Releases
v0.40.19
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
How to install Ollama CLI (Ollama) on Mac
Install without Homebrew
Download the same file Homebrew uses: Install Details
Uninstall Ollama CLI (Ollama) and optional data cleanup
brew uninstall --cask ollama-binaryA 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.
Questions about Ollama CLI (Ollama)
Is Ollama CLI (Ollama) safe?
Ollama CLI (Ollama) is in Homebrew’s official catalog and has not been disabled. Since September 2026, Homebrew disables apps that fail macOS Gatekeeper checks. When installing, Homebrew checks the download from github.com against its SHA-256 checksum. It was installed 633 times through Homebrew in the last 30 days.
Is Ollama CLI (Ollama) free?
Ollama CLI (Ollama) is free to download and offers in-app purchases. Source: ollama.com/pricing, checked Oct 17, 2026.
Is Ollama CLI (Ollama) open source?
Ollama CLI (Ollama)’s source code is public on GitHub (ollama/ollama) under the MIT license.
How do I completely uninstall Ollama CLI (Ollama) on a Mac?
Run brew uninstall --cask ollama-binary. To delete its settings and caches as well, run 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. That also deletes ~/.
Does Ollama CLI (Ollama) run on Apple silicon (M1 and later) Macs?
Homebrew installs it on both Apple silicon and Intel Macs, from the same download. It needs macOS 14 or later.
Where does Ollama CLI (Ollama) store its settings and data?
Its data is in ~/. These locations come from Homebrew’s clean-up list.
What is the latest version of Ollama CLI (Ollama)?
The latest version is 0.40.18, added to Homebrew on Nov 24, 2026. Run brew upgrade --cask ollama-binary to update it.
What else does installing Ollama CLI (Ollama) add?
It also adds 1 command-line tool: ollama. It cannot be installed alongside ollama-app.
Similar Apps
- doubaoDoubao is an AI chat assistant available as a macOS desktop app.
- AlmaA macOS desktop AI chat app that brings multiple AI providers into one interface.
- KimiMoonshot AI’s desktop chat assistant, with cross-device conversations and local-workspace tools through Kimi Work on supported platforms.
- JanA local-model AI desktop app with model downloads, chat, assistants, optional cloud providers, MCP tools and an OpenAI-compatible local API.