Grux AI Download

Should I install Ollama on a Mac with Homebrew, and which package?

Homebrew has three Ollama packages: the formula ollama, the cask ollama-app, which installs the Mac app, and the cask ollama-binary, which links only the ollama command into Homebrew's bin folder. The formula comes with a service that runs ollama serve. Homebrew lists the formula as MIT licensed, and its service sets OLLAMA_FLASH_ATTENTION to 1 and OLLAMA_KV_CACHE_TYPE to q8_0, where Ollama's FAQ gives f16 as the default cache type. The two casks each name the other as a conflict. Ollama's macOS page describes the app and its DMG, and its README links the formula under package managers. Name the package you mean with --formula or --cask, because this page did not test which one a bare brew install ollama picks, or what happens if the formula and a cask are both installed.

Download Grux AI 3.3.1, free, for macOS 14 or later on Apple silicon.

Grux AI 3.3.1 · sources read 2026-11-19 · published 2026-11-19

The three packages

Formula ollamaCask ollama-appCask ollama-binary
Installbrew install --formula ollamabrew install --cask ollama-appbrew install --cask ollama-binary
Homebrew's descriptionCreate, run, and share large language models (LLMs)Get up and running with large language models locallyGet up and running with large language models locally
What you getThe ollama command and a Homebrew service that runs ollama serveOllama.app in /Applications, with its ollama command linked into Homebrew's bin folderOnly the ollama command, linked into Homebrew's bin folder
Licence in Homebrew's dataMITHomebrew casks carry no licence fieldHomebrew casks carry no licence field
macOSNo requirement listed14 or later14 or later
Starts at loginAfter brew services start ollamaOllama's FAQ says the app registers as a login item when installedNothing in Homebrew's data starts it
Updatesbrew upgrade ollamaHomebrew marks the cask as updating itselfHomebrew does not mark it as updating itself
Conflicts Homebrew listsNone listedCask ollama-binaryCask ollama-app

Homebrew's install command takes a formula or a cask, and its options include --formula and --cask to treat every name you give as one or the other. Homebrew's data lists ollama among the old names of the cask ollama-app, so that cask was once named ollama.

Run the formula as a service

Those three descriptions are Homebrew's. Homebrew's formula data gives the service's command as ollama serve with a keep alive of always, sets OLLAMA_FLASH_ATTENTION to 1 and OLLAMA_KV_CACHE_TYPE to q8_0, and writes its log to var/log/ollama.log under Homebrew's prefix.

Ollama's FAQ says that when Ollama runs as a macOS application you set environment variables with launchctl setenv. For a Homebrew service, Homebrew says you add or override a variable by creating ~/.homebrew/services/ollama.env, one KEY=value per line, and that the change takes effect on the next brew services restart.

Update and remove

For uninstalling the app by hand, see Stop, update or remove Ollama on a Mac. It covers the app and not a Homebrew install.

What this page does not say

Where to check this

ClaimSource
The formula: description, MIT licence, the service and its environment variables, its logHomebrew, formula ollama (JSON)
The cask ollama-app: description, old name, macOS 14, the linked binary, updates itself, the conflict, the zap listHomebrew, cask ollama-app (JSON)
The cask ollama-binary: description, macOS 14, only the linked binary, no self-update mark, the conflict, the zap listHomebrew, cask ollama-binary (JSON)
brew services, --formula, --cask, --zap, brew upgrade, the service .env fileHomebrew manpage
The app registers as a login item; automatic updates; the default K/V cache type is f16Ollama docs, Local FAQ
The DMG is the preferred install; ~/.ollama holds models and configurationOllama docs, macOS
The README links the Homebrew formula under package managersOllama README

Questions

Is there a Homebrew package for Ollama?
Three: the formula ollama, which comes with a service, the cask ollama-app, which installs the Mac app, and the cask ollama-binary, which links only the command. Use --formula or --cask to say which you mean.
How do I run Ollama at login with Homebrew?
For the formula, brew services start ollama starts the service and registers it to launch at login, says Homebrew. The Mac app registers itself as a login item, says Ollama's FAQ.
How do I set an Ollama environment variable for the Homebrew service?
Homebrew says to create ~/.homebrew/services/ollama.env with one KEY=value per line and run brew services restart ollama; the change takes effect on that restart.
What does brew uninstall --zap ollama-app remove?
Homebrew says --zap removes all files associated with a cask and may remove files shared between applications. The zap lists of ollama-app and ollama-binary both include ~/.ollama, where Ollama's macOS page says models are kept.
Download Grux AI 3.3.1 Read the source

Free, MIT licensed. macOS 14 or later, Apple silicon. 29.1 MB, signed and notarized by Apple. No account, no server, no subscription.