[GH-ISSUE #646] Rectify the docs about ``ollama run`` #62323

Closed
opened 2026-05-03 08:13:09 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @thebigbone on GitHub (Sep 29, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/646

I noticed that after running ollama run, it also starts the API server because when I tried to exit the chat and run ollama serve, it gave me an error saying port already in use and upon checking I realized that the API is already running.

Would it make sense if the README would specify this or is there no need for that? I can open up a PR for it if that's alright.

And thank you for working on this amazing project! It's awesome.

Originally created by @thebigbone on GitHub (Sep 29, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/646 I noticed that after running ```ollama run```, it also starts the API server because when I tried to exit the chat and run ```ollama serve```, it gave me an error saying ```port already in use``` and upon checking I realized that the API is already running. Would it make sense if the README would specify this or is there no need for that? I can open up a PR for it if that's alright. And thank you for working on this amazing project! It's awesome.
Author
Owner

@mchiang0610 commented on GitHub (Sep 30, 2023):

Hey @thebigbone thank you for taking the time to create the issue. I really appreciate it.

The reason for this is you don't need to run ollama serve on the mac if you have the desktop app. By having the desktop app running, it means that we will run ollama in the background.

Hope this helps! The ollama serve command is great if you want to use it without the app

<!-- gh-comment-id:1741671365 --> @mchiang0610 commented on GitHub (Sep 30, 2023): Hey @thebigbone thank you for taking the time to create the issue. I really appreciate it. The reason for this is you don't need to run `ollama serve` on the mac if you have the desktop app. By having the desktop app running, it means that we will run ollama in the background. Hope this helps! The `ollama serve` command is great if you want to use it without the app
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#62323