[GH-ISSUE #4882] mac app silently fails to install CLI link if /usr/local/bin/ missing #49590

Open
opened 2026-04-28 12:21:57 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @saimgulay on GitHub (Jun 6, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4882

Originally assigned to: @dhiltgen on GitHub.

What is the issue?

Hi community,
I have a MacOS Sonoma 14.4.1 and my Ollama version is 0.1.41. I moved the app to the Applications folder then run the app, click the Next button, then click the Install button to install the command line but nothing happens. I tried running as an admin but still faced the same problem.

The temporary solution:

sudo cp /Applications/Ollama.app/Contents/Resources/ollama /usr/local/bin/

sudo chmod +x /usr/local/bin/ollama

ollama --version

OS

macOS

GPU

AMD

CPU

Intel, AMD

Ollama version

0.1.41

Originally created by @saimgulay on GitHub (Jun 6, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4882 Originally assigned to: @dhiltgen on GitHub. ### What is the issue? Hi community, I have a MacOS Sonoma 14.4.1 and my Ollama version is 0.1.41. I moved the app to the Applications folder then run the app, click the Next button, then click the Install button to install the command line but nothing happens. I tried running as an admin but still faced the same problem. The temporary solution: `sudo cp /Applications/Ollama.app/Contents/Resources/ollama /usr/local/bin/` `sudo chmod +x /usr/local/bin/ollama` `ollama --version` ### OS macOS ### GPU AMD ### CPU Intel, AMD ### Ollama version 0.1.41
GiteaMirror added the installbugmacos labels 2026-04-28 12:21:58 -05:00
Author
Owner

@santosomar commented on GitHub (Oct 16, 2024):

I had the same issue and this worked perfectly.

  • ollama version is 0.3.13

  • Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: MacBookPro18,3
      Model Number: MKGQ3LL/A
      Chip: Apple M1 Pro
      Total Number of Cores: 10 (8 performance and 2 efficiency)
      Memory: 16 GB
      System Firmware Version: 10151.140.19
      OS Loader Version: 10151.140.19
  • macOS version
 System Version:	macOS 14.6.1 (23G93)
  Kernel Version:	Darwin 23.6.0
  Boot Volume:	Macintosh HD
  Boot Mode:	Normal
  Secure Virtual Memory:	Enabled
  System Integrity Protection:	Enabled
<!-- gh-comment-id:2415696051 --> @santosomar commented on GitHub (Oct 16, 2024): I had the same issue and this worked perfectly. - ollama version is 0.3.13 - Hardware Overview: ``` Model Name: MacBook Pro Model Identifier: MacBookPro18,3 Model Number: MKGQ3LL/A Chip: Apple M1 Pro Total Number of Cores: 10 (8 performance and 2 efficiency) Memory: 16 GB System Firmware Version: 10151.140.19 OS Loader Version: 10151.140.19 ``` - macOS version ``` System Version: macOS 14.6.1 (23G93) Kernel Version: Darwin 23.6.0 Boot Volume: Macintosh HD Boot Mode: Normal Secure Virtual Memory: Enabled System Integrity Protection: Enabled ```
Author
Owner

@dhiltgen commented on GitHub (Oct 23, 2024):

@saimgulay are you still having trouble getting Ollama installed? Please give the latest version a try and let us know.

<!-- gh-comment-id:2433513002 --> @dhiltgen commented on GitHub (Oct 23, 2024): @saimgulay are you still having trouble getting Ollama installed? Please give the latest version a try and let us know.
Author
Owner

@Bheeshmat commented on GitHub (Dec 17, 2024):

Yes, the issue still persists.

I am trying to install Ollama version is 0.5.1 on macOS version 13.0.1. I moved the app to the Applications folder then run the app, click the Next button, then click the Install button to install the command line but nothing happens.

<!-- gh-comment-id:2547773330 --> @Bheeshmat commented on GitHub (Dec 17, 2024): Yes, the issue still persists. I am trying to install Ollama version is 0.5.1 on macOS version 13.0.1. I moved the app to the Applications folder then run the app, click the Next button, then click the Install button to install the command line but nothing happens.
Author
Owner

@dhiltgen commented on GitHub (Jan 6, 2025):

@Bheeshmat when you clicked the Install button in the setup wizard, did you get a pop-up to enter your credentials? Did any errors appear as a result of clicking OK on that pop-up? What do you see when you run the following in a terminal?

ls -l /usr/local/bin/ollama

What if anything do you see when you run ollama --version in a terminal window?

<!-- gh-comment-id:2573737241 --> @dhiltgen commented on GitHub (Jan 6, 2025): @Bheeshmat when you clicked the `Install` button in the setup wizard, did you get a pop-up to enter your credentials? Did any errors appear as a result of clicking OK on that pop-up? What do you see when you run the following in a terminal? ``` ls -l /usr/local/bin/ollama ``` What if anything do you see when you run `ollama --version` in a terminal window?
Author
Owner

@Bheeshmat commented on GitHub (Jan 8, 2025):

I figured what was happening, when it is trying to isntall the script is looking for to /usr/local/bin/ - on my system particularly there was no /bin folder. I created that folder and ran the installer again and it worked. There was no error that the setup wizard gave after asking and accepting the credentials, so it took a bit of time to figure out what was going on. I have not done anything to change the default system and user folders so I'm unsure if this was particularly an issue on my system only or this may be a larger issue related to the directory structure since I had just updated my OS to latest macOS version 13.0.1.

Thanks for the help.

<!-- gh-comment-id:2576904302 --> @Bheeshmat commented on GitHub (Jan 8, 2025): I figured what was happening, when it is trying to isntall the script is looking for to /usr/local/bin/ - on my system particularly there was no /bin folder. I created that folder and ran the installer again and it worked. There was no error that the setup wizard gave after asking and accepting the credentials, so it took a bit of time to figure out what was going on. I have not done anything to change the default system and user folders so I'm unsure if this was particularly an issue on my system only or this may be a larger issue related to the directory structure since I had just updated my OS to latest macOS version 13.0.1. Thanks for the help.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#49590