[GH-ISSUE #11791] Gui opening while called by bash script #54333

Closed
opened 2026-04-29 05:45:58 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @Guiraud on GitHub (Aug 7, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/11791

Hi,

I'm calling Ollama to run some models. They are kept stored until I close and relaunch ollama. but each time I recall Ollama by a ollama run <MODEL>, the GUI windows opens on my mac (M series) and pops up

I would love a "-q --quiet" option that makes it less intrusive.

thx

Originally created by @Guiraud on GitHub (Aug 7, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/11791 Hi, I'm calling Ollama to run some models. They are kept stored until I close and relaunch ollama. but each time I recall Ollama by a `ollama run <MODEL>`, the GUI windows opens on my mac (M series) and pops up I would love a "-q --quiet" option that makes it less intrusive. thx
GiteaMirror added the appfeature request labels 2026-04-29 05:45:59 -05:00
Author
Owner

@dhiltgen commented on GitHub (Aug 7, 2025):

What version of the client are you using? If it's an older version, that could explain the behavior. The latest client should start the desktop app without opening the UI.

<!-- gh-comment-id:3165355932 --> @dhiltgen commented on GitHub (Aug 7, 2025): What version of the client are you using? If it's an older version, that could explain the behavior. The latest client should start the desktop app without opening the UI.
Author
Owner

@psybers commented on GitHub (Aug 13, 2025):

Are you sure about that? If I run Ollama now (latest client), it immediately opens the UI. I was actually hoping for a setting to disable that behavior, as I mostly just interact with Ollama via API calls.

It also always shows an icon in the dock now, which it never did before. Even with the UI closed.

Image

I'm on macos Sequoia 15.6 (24G84) on an M2. ollama version is 0.11.4

<!-- gh-comment-id:3185024344 --> @psybers commented on GitHub (Aug 13, 2025): Are you sure about that? If I run Ollama now (latest client), it immediately opens the UI. I was actually hoping for a setting to disable that behavior, as I mostly just interact with Ollama via API calls. It also always shows an icon in the dock now, which it never did before. Even with the UI closed. <img width="311" height="115" alt="Image" src="https://github.com/user-attachments/assets/278cfbeb-8995-45a1-b985-4bb823eeadd5" /> I'm on macos Sequoia 15.6 (24G84) on an M2. `ollama version is 0.11.4`
Author
Owner

@psybers commented on GitHub (Aug 13, 2025):

Possible duplicate of #11604.

<!-- gh-comment-id:3185034142 --> @psybers commented on GitHub (Aug 13, 2025): Possible duplicate of #11604.
Author
Owner

@pdevine commented on GitHub (Oct 2, 2025):

Going to close as a dupe.

<!-- gh-comment-id:3362608696 --> @pdevine commented on GitHub (Oct 2, 2025): Going to close as a dupe.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#54333