[GH-ISSUE #5305] Application should skip the CLI tool install page during first run if they have already been installed. (macOS) #65365

Open
opened 2026-05-03 20:53:01 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @seanchristians on GitHub (Jun 26, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/5305

What is the issue?

I'm deploying Ollama for some of the users in my organization who do not have local administrator rights. I wrote a script to symlink the ollama executable to /usr/local/bin/ollama for the user during install.

However, when they start the app, it still asks them to install the command line tools, which they cannot do because they are not an admin.

Is there a way to bypass this step during first run?

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.1.46

Originally created by @seanchristians on GitHub (Jun 26, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/5305 ### What is the issue? I'm deploying Ollama for some of the users in my organization who do not have local administrator rights. I wrote a script to symlink the ollama executable to /usr/local/bin/ollama for the user during install. However, when they start the app, it still asks them to install the command line tools, which they cannot do because they are not an admin. Is there a way to bypass this step during first run? ### OS macOS ### GPU Apple ### CPU Apple ### Ollama version 0.1.46
GiteaMirror added the bug label 2026-05-03 20:53:01 -05:00
Author
Owner

@seanchristians commented on GitHub (Sep 6, 2024):

The PR #5306 that I submitted adds a check to installed() before attempting to re-run the symlink command. This check doesn't already exist, because the app would bypass that onboarding step if it did.

<!-- gh-comment-id:2334557975 --> @seanchristians commented on GitHub (Sep 6, 2024): The PR #5306 that I submitted adds a check to `installed()` before attempting to re-run the symlink command. This check doesn't already exist, because the app would bypass that onboarding step if it did.
Author
Owner

@l2dy commented on GitHub (Feb 4, 2025):

The problem is that store.get('first-time-run') only returns true after completing the setup wizard, not before.

f9d2d89135/macapp/src/index.ts (L257-L264)

A workaround is to modify the file ~/Library/Application Support/Ollama/config.json by hand, setting first-time-run to true.

<!-- gh-comment-id:2632969357 --> @l2dy commented on GitHub (Feb 4, 2025): The problem is that `store.get('first-time-run')` only returns `true` after completing the setup wizard, not before. https://github.com/ollama/ollama/blob/f9d2d8913554d78b1cae47c5eaa9cbbd0ea79273/macapp/src/index.ts#L257-L264 A workaround is to modify the file `~/Library/Application Support/Ollama/config.json` by hand, setting `first-time-run` to true.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#65365