[GH-ISSUE #5619] CLI not updated when Ollama.app is updated #3506

Closed
opened 2026-04-12 14:12:00 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @igorschlum on GitHub (Jul 10, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/5619

What is the issue?

(base) Igor@Mac ~ % ollama --version
Ollama version is 0.2.1
Warning: client version is 0.1.22

Is it normal, that even after downloading ollama.app, launching it and clicking on "Install CLI", the Ollama CLI version is not updated?

I foound that this command update Ollama CLI.

brew upgrade ollama

As Ollama should stay a simple app to use I think that Ollama should support "Ollama update".

BTW Ollama --help is not showing /clear and other new commands. -- help

Ollama --help
Large language model runner

Usage:
  ollama [flags]
  ollama [command]

Available Commands:
  serve       Start ollama
  create      Create a model from a Modelfile
  show        Show information for a model
  run         Run a model
  pull        Pull a model from a registry
  push        Push a model to a registry
  list        List models
  ps          List running models
  cp          Copy a model
  rm          Remove a model
  help        Help about any command

Flags:
  -h, --help      help for ollama
  -v, --version   Show version information

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.2.1

Originally created by @igorschlum on GitHub (Jul 10, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/5619 ### What is the issue? (base) Igor@Mac ~ % ollama --version Ollama version is 0.2.1 Warning: client version is 0.1.22 Is it normal, that even after downloading ollama.app, launching it and clicking on "Install CLI", the Ollama CLI version is not updated? I foound that this command update Ollama CLI. ```bash brew upgrade ollama ``` As Ollama should stay a simple app to use I think that Ollama should support "Ollama update". BTW Ollama --help is not showing /clear and other new commands. -- help ```bash Ollama --help Large language model runner Usage: ollama [flags] ollama [command] Available Commands: serve Start ollama create Create a model from a Modelfile show Show information for a model run Run a model pull Pull a model from a registry push Push a model to a registry list List models ps List running models cp Copy a model rm Remove a model help Help about any command Flags: -h, --help help for ollama -v, --version Show version information ``` ### OS macOS ### GPU Apple ### CPU Apple ### Ollama version 0.2.1
GiteaMirror added the bug label 2026-04-12 14:12:00 -05:00
Author
Owner

@thinkverse commented on GitHub (Jul 11, 2024):

Seems like you'd installed Ollama via Homebrew before, and then installed it again using the official Mac app resulting in two installations with two different versions.

Homebrew is likely taking priority in PATH so ollama points to the Homebrew installation. Check with which ollama, if it returns /opt/homebrew/bin/ollama then the CLI point to Homebrew. If it's usr/local/bin/ollama then it should be the official Mac app.

I'd recommend removing one of the installations so you don't have two installations at the same time.

<!-- gh-comment-id:2223535425 --> @thinkverse commented on GitHub (Jul 11, 2024): Seems like you'd installed Ollama via Homebrew before, and then installed it again using the official Mac app resulting in two installations with two different versions. Homebrew is likely taking priority in `PATH` so `ollama` points to the Homebrew installation. Check with `which ollama`, if it returns `/opt/homebrew/bin/ollama` then the CLI point to Homebrew. If it's `usr/local/bin/ollama` then it should be the official Mac app. I'd recommend removing one of the installations so you don't have two installations at the same time.
Author
Owner

@igorschlum commented on GitHub (Jul 11, 2024):

Thank you, that was it. I tested installing Ollama with Homebrew a long time ago for an issue on this forum, which is why I ended up with two installations of the CLI.

I'm surprised that Homebrew does not use the same directory as Ollama to install the CLI. This could be confusing for some people.

<!-- gh-comment-id:2223668985 --> @igorschlum commented on GitHub (Jul 11, 2024): Thank you, that was it. I tested installing Ollama with Homebrew a long time ago for an issue on this forum, which is why I ended up with two installations of the CLI. I'm surprised that Homebrew does not use the same directory as Ollama to install the CLI. This could be confusing for some people.
Author
Owner

@thinkverse commented on GitHub (Jul 11, 2024):

One of the reasons Homebrew switched to opt/homebrew for Apple Silicon was to reduce potential conflicts with other software, you can read more in the Discussion: longterm Homebrew prefix on Apple Silicon Macs.

<!-- gh-comment-id:2223689176 --> @thinkverse commented on GitHub (Jul 11, 2024): One of the reasons Homebrew switched to `opt/homebrew` for Apple Silicon was to reduce potential conflicts with other software, you can read more in the [Discussion: longterm Homebrew prefix on Apple Silicon Macs](https://github.com/Homebrew/brew/issues/9177).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#3506