[GH-ISSUE #11263] Installation Error on macOS: Command Not Found During First-Time Setup #69483

Closed
opened 2026-05-04 18:14:30 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @hwk114 on GitHub (Jul 2, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/11263

What is the issue?

After installing ollama.dmg, every time I launch the application, a dialog keeps popping up with the message "ollama is trying to install CLI...". I enter my password to proceed with the installation, but when I type 'ollama' in the terminal, it still returns 'command not found: ollama'.

I searched for related issues and found a solution in this thread: https://github.com/ollama/ollama/issues/2398. After running the command 'sudo mkdir -p /usr/local/bin', the problem was resolved perfectly.

Therefore, I suspect that the issue could be avoided by checking if the path exists before attempting to install the CLI.

Relevant log output


OS

macOS

GPU

M1

CPU

M1

Ollama version

0.9.4

Originally created by @hwk114 on GitHub (Jul 2, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/11263 ### What is the issue? After installing ollama.dmg, every time I launch the application, a dialog keeps popping up with the message "ollama is trying to install CLI...". I enter my password to proceed with the installation, but when I type 'ollama' in the terminal, it still returns 'command not found: ollama'. I searched for related issues and found a solution in this thread: https://github.com/ollama/ollama/issues/2398. After running the command 'sudo mkdir -p /usr/local/bin', the problem was resolved perfectly. Therefore, I suspect that the issue could be avoided by checking if the path exists before attempting to install the CLI. ### Relevant log output ```shell ``` ### OS macOS ### GPU M1 ### CPU M1 ### Ollama version 0.9.4
GiteaMirror added the installmacosbug labels 2026-05-04 18:14:30 -05:00
Author
Owner

@dhiltgen commented on GitHub (Jul 5, 2025):

Fixed in 0.9.5 to make sure /usr/local/bin exists first, and if not, create that as well.

<!-- gh-comment-id:3040357244 --> @dhiltgen commented on GitHub (Jul 5, 2025): Fixed in 0.9.5 to make sure /usr/local/bin exists first, and if not, create that as well.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#69483