[GH-ISSUE #763] update local ollama install #362

Closed
opened 2026-04-12 10:00:14 -05:00 by GiteaMirror · 27 comments
Owner

Originally created by @morandalex on GitHub (Oct 12, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/763

How to update ollama cli locally with latest features?

Originally created by @morandalex on GitHub (Oct 12, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/763 How to update ollama cli locally with latest features?
Author
Owner

@BruceMacD commented on GitHub (Oct 12, 2023):

Thanks for opening this issue, it hasn't been documented yet. When a new version is released (at this exact moment the new github release is still pre-release):

Mac:

  • The Mac app will automatically download the update and prompt to install the new version.

Linux:

  • Re-running the install script will download the new version and move it to the right place, it won't re-install any of the other external libraries (like the GPU libraries).
curl https://ollama.ai/install.sh | sh
<!-- gh-comment-id:1759869740 --> @BruceMacD commented on GitHub (Oct 12, 2023): Thanks for opening this issue, it hasn't been documented yet. When a new version is released (at this exact moment the new github release is still pre-release): **Mac:** - The Mac app will automatically download the update and prompt to install the new version. **Linux:** - Re-running the install script will download the new version and move it to the right place, it won't re-install any of the other external libraries (like the GPU libraries). ``` curl https://ollama.ai/install.sh | sh ```
Author
Owner

@milen-prg commented on GitHub (Dec 19, 2023):

@BruceMacD this script on Ubuntu Linux (wsl2) does not updates v0.1.16 to v0.1.17.

<!-- gh-comment-id:1862600568 --> @milen-prg commented on GitHub (Dec 19, 2023): @BruceMacD this script on Ubuntu Linux (wsl2) does not updates v0.1.16 to v0.1.17.
Author
Owner

@BruceMacD commented on GitHub (Dec 19, 2023):

@milen-prg try again now, 0.1.17 was pre-release last night

<!-- gh-comment-id:1863490044 --> @BruceMacD commented on GitHub (Dec 19, 2023): @milen-prg try again now, 0.1.17 was pre-release last night
Author
Owner

@milen-prg commented on GitHub (Dec 20, 2023):

Oh, yes, now it succeed! I saw the message for the new version yesterday and instantly start to try to update. Thank, you!

<!-- gh-comment-id:1864152203 --> @milen-prg commented on GitHub (Dec 20, 2023): Oh, yes, now it succeed! I saw the message for the new version yesterday and instantly start to try to update. Thank, you!
Author
Owner

@wgong commented on GitHub (May 11, 2024):

@BruceMacD
ollama service is running,
service ollama status
do you recommend one stops the service before upgrading to a new release ?

<!-- gh-comment-id:2106027149 --> @wgong commented on GitHub (May 11, 2024): @BruceMacD ollama service is running, `service ollama status` do you recommend one stops the service before upgrading to a new release ?
Author
Owner

@BruceMacD commented on GitHub (May 13, 2024):

@wgong no need to stop the service, it should be restarted automatically if you are upgrading via the curl -fsSL https://ollama.com/install.sh | sh script.

<!-- gh-comment-id:2108218359 --> @BruceMacD commented on GitHub (May 13, 2024): @wgong no need to stop the service, it should be restarted automatically if you are upgrading via the `curl -fsSL https://ollama.com/install.sh | sh` script.
Author
Owner

@Shivamkushwaha9 commented on GitHub (May 18, 2024):

@wgong no need to stop the service, it should be restarted automatically if you are upgrading via the curl -fsSL https://ollama.com/install.sh | sh script.

How to update in windows?

<!-- gh-comment-id:2118825227 --> @Shivamkushwaha9 commented on GitHub (May 18, 2024): > @wgong no need to stop the service, it should be restarted automatically if you are upgrading via the `curl -fsSL https://ollama.com/install.sh | sh` script. How to update in windows?
Author
Owner

@BruceMacD commented on GitHub (May 20, 2024):

@Shivamkushwaha9 on Windows the toolbar icon will have an option to update when a new version is available. It will also install the new version next time Ollama restarts.
https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-upgrade-ollama

<!-- gh-comment-id:2120907594 --> @BruceMacD commented on GitHub (May 20, 2024): @Shivamkushwaha9 on Windows the toolbar icon will have an option to update when a new version is available. It will also install the new version next time Ollama restarts. https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-upgrade-ollama
Author
Owner

@bighaidao commented on GitHub (Jun 3, 2024):

There is a bug in ollama upgrade, which will overwrite the original configuration file. This is a bit annoying

<!-- gh-comment-id:2144130195 --> @bighaidao commented on GitHub (Jun 3, 2024): There is a bug in ollama upgrade, which will overwrite the original configuration file. This is a bit annoying
Author
Owner

@melMass commented on GitHub (Jun 21, 2024):

Can we safely use that script on macOS too? The doc seems to mention a GUI but I'm using only the CLI (I didn't even know ollama had one)

<!-- gh-comment-id:2183304618 --> @melMass commented on GitHub (Jun 21, 2024): Can we safely use that script on macOS too? The doc seems to mention a GUI but I'm using only the CLI (I didn't even know ollama had one)
Author
Owner

@plekeas commented on GitHub (Oct 14, 2024):

A curl https://ollama.ai/install.sh | sh worked updating ollama to version 0.3.13. After the Linux amd64 bundle downloaded, ollama user was added again to video group, current user was added to ollama group, and ollama systemd service was (re)created enabled and started.

<!-- gh-comment-id:2412018704 --> @plekeas commented on GitHub (Oct 14, 2024): A `curl https://ollama.ai/install.sh | sh` worked updating ollama to version `0.3.13`. After the Linux amd64 bundle downloaded, ollama user was added again to video group, current user was added to ollama group, and ollama systemd service was (re)created enabled and started.
Author
Owner

@Septemberlemon commented on GitHub (Nov 20, 2024):

@Shivamkushwaha9 on Windows the toolbar icon will have an option to update when a new version is available. It will also install the new version next time Ollama restarts. https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-upgrade-ollama

I didn't see any option to update and my version is 0.3.13,how should I update ollama?
image
please help me!

<!-- gh-comment-id:2489016294 --> @Septemberlemon commented on GitHub (Nov 20, 2024): > @Shivamkushwaha9 on Windows the toolbar icon will have an option to update when a new version is available. It will also install the new version next time Ollama restarts. https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-upgrade-ollama I didn't see any option to update and my version is 0.3.13,how should I update ollama? ![image](https://github.com/user-attachments/assets/a41f68dc-006f-40cf-9da3-b12a880540c4) please help me!
Author
Owner

@jhetuts commented on GitHub (Nov 28, 2024):

Can we do it programmatically on windows?

<!-- gh-comment-id:2505241974 --> @jhetuts commented on GitHub (Nov 28, 2024): Can we do it programmatically on windows?
Author
Owner

@TimMensch commented on GitHub (Dec 5, 2024):

I'm seeing the "Restart to update" option, but when I select it, nothing happens. 🫤

<!-- gh-comment-id:2519150607 --> @TimMensch commented on GitHub (Dec 5, 2024): I'm seeing the "Restart to update" option, but when I select it, nothing happens. 🫤
Author
Owner

@BruceMacD commented on GitHub (Dec 5, 2024):

@TimMensch what OS are you seeing this issue on? Might work to just quit the Ollama application and start it again.

<!-- gh-comment-id:2521303869 --> @BruceMacD commented on GitHub (Dec 5, 2024): @TimMensch what OS are you seeing this issue on? Might work to just quit the Ollama application and start it again.
Author
Owner

@TimMensch commented on GitHub (Dec 6, 2024):

Windows 11.

I haven't been able to figure out how to restart the app without binding it to a console. If there's an option to run it detached, I haven't found it.

<!-- gh-comment-id:2522255422 --> @TimMensch commented on GitHub (Dec 6, 2024): Windows 11. I haven't been able to figure out how to restart the app without binding it to a console. If there's an option to run it detached, I haven't found it.
Author
Owner

@omarnahdi commented on GitHub (Dec 6, 2024):

I'm seeing the "Restart to update" option, but when I select it, nothing happens. 🫤

@TimMensch I did that too and ollama did get updated to the latest version. try ollama --version and check the version.

<!-- gh-comment-id:2523260667 --> @omarnahdi commented on GitHub (Dec 6, 2024): > I'm seeing the "Restart to update" option, but when I select it, nothing happens. 🫤 @TimMensch I did that too and ollama did get updated to the latest version. try `ollama --version` and check the version.
Author
Owner

@raffaelemancuso commented on GitHub (May 5, 2025):

I'm seeing the "Restart to update" option, but when I select it, nothing happens. 🫤

Same thing here.

Restarting ollama does not update it.

<!-- gh-comment-id:2852113853 --> @raffaelemancuso commented on GitHub (May 5, 2025): > I'm seeing the "Restart to update" option, but when I select it, nothing happens. 🫤 Same thing here. Restarting ollama does not update it.
Author
Owner

@dionmaicon commented on GitHub (May 8, 2025):

Thanks for opening this issue, it hasn't been documented yet. When a new version is released (at this exact moment the new github release is still pre-release):

Mac:

  • The Mac app will automatically download the update and prompt to install the new version.

Linux:

  • Re-running the install script will download the new version and move it to the right place, it won't re-install any of the other external libraries (like the GPU libraries).
curl https://ollama.ai/install.sh | sh

Linux
If you have any custom configuration in etc/systemd/system/ollama.service, save it, otherwise it will be overwritten.

<!-- gh-comment-id:2864570470 --> @dionmaicon commented on GitHub (May 8, 2025): > Thanks for opening this issue, it hasn't been documented yet. When a new version is released (at this exact moment the new github release is still pre-release): > > **Mac:** > > * The Mac app will automatically download the update and prompt to install the new version. > > **Linux:** > > * Re-running the install script will download the new version and move it to the right place, it won't re-install any of the other external libraries (like the GPU libraries). > > ``` > curl https://ollama.ai/install.sh | sh > ``` **Linux** If you have any custom configuration in `etc/systemd/system/ollama.service`, save it, otherwise it will be overwritten.
Author
Owner

@Anaphylaxis commented on GitHub (Jun 24, 2025):

Linux If you have any custom configuration in etc/systemd/system/ollama.service, save it, otherwise it will be overwritten.

Custom configuration should be done in the override file (systemctl edit ollama) and this was not overwritten by the script for me

<!-- gh-comment-id:3001695111 --> @Anaphylaxis commented on GitHub (Jun 24, 2025): > **Linux** If you have any custom configuration in `etc/systemd/system/ollama.service`, save it, otherwise it will be overwritten. Custom configuration should be done in the override file (`systemctl edit ollama`) and this was not overwritten by the script for me
Author
Owner

@gabriel-r commented on GitHub (Jul 14, 2025):

UPDATE: The ollama service was launched and still used by Raycast. I found it in Application Monitor, quit it manually, and everything fell back into place afterwards.


I just updated the macOS client via the DMG download.
In Terminal, I get this when running ollama --version

ollama version is 0.9.0
Warning: client version is 0.9.6

Running which ollama returns /usr/local/bin/ollama

The UI client is of course in /Applications

Still getting the dredged error "The model you are attempting to pull requires a newer version of Ollama"

Can I update the CLI version separately from the Mac App? Should I?

<!-- gh-comment-id:3069387591 --> @gabriel-r commented on GitHub (Jul 14, 2025): _UPDATE: The ollama service was launched and still used by Raycast. I found it in Application Monitor, quit it manually, and everything fell back into place afterwards._ ---- I just updated the macOS client via the DMG download. In Terminal, I get this when running `ollama --version` > ollama version is 0.9.0 > Warning: client version is 0.9.6 Running `which ollama` returns `/usr/local/bin/ollama` The UI client is of course in /Applications Still getting the dredged error _"The model you are attempting to pull requires a newer version of Ollama"_ Can I update the CLI version separately from the Mac App? Should I?
Author
Owner

@wmichelin commented on GitHub (Aug 5, 2025):

@gabriel-r wow, you just saved me. Also had Raycast installed and quitting it fixed my exact issue.

<!-- gh-comment-id:3156886301 --> @wmichelin commented on GitHub (Aug 5, 2025): @gabriel-r wow, you just saved me. Also had Raycast installed and quitting it fixed my exact issue.
Author
Owner

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

ollama update

please add options update cli command

<!-- gh-comment-id:3162213087 --> @seohyunjun commented on GitHub (Aug 7, 2025): ``` ollama update ``` please add options update cli command
Author
Owner

@resting commented on GitHub (Aug 9, 2025):

UPDATE: The ollama service was launched and still used by Raycast. I found it in Application Monitor, quit it manually, and everything fell back into place afterwards.

I just updated the macOS client via the DMG download. In Terminal, I get this when running ollama --version

ollama version is 0.9.0
Warning: client version is 0.9.6

Running which ollama returns /usr/local/bin/ollama

The UI client is of course in /Applications

Still getting the dredged error "The model you are attempting to pull requires a newer version of Ollama"

Can I update the CLI version separately from the Mac App? Should I?

Never knew it was using it. Good share.

<!-- gh-comment-id:3170636492 --> @resting commented on GitHub (Aug 9, 2025): > _UPDATE: The ollama service was launched and still used by Raycast. I found it in Application Monitor, quit it manually, and everything fell back into place afterwards._ > > I just updated the macOS client via the DMG download. In Terminal, I get this when running `ollama --version` > > > ollama version is 0.9.0 > > Warning: client version is 0.9.6 > > Running `which ollama` returns `/usr/local/bin/ollama` > > The UI client is of course in /Applications > > Still getting the dredged error _"The model you are attempting to pull requires a newer version of Ollama"_ > > Can I update the CLI version separately from the Mac App? Should I? Never knew it was using it. Good share.
Author
Owner

@calebl commented on GitHub (Aug 23, 2025):

For me, it was a process called ollama-darwin that I had stop and then restart my terminal

<!-- gh-comment-id:3216981964 --> @calebl commented on GitHub (Aug 23, 2025): For me, it was a process called `ollama-darwin` that I had stop and then restart my terminal
Author
Owner

@razametal commented on GitHub (Dec 17, 2025):

Linux If you have any custom configuration in etc/systemd/system/ollama.service, save it, otherwise it will be overwritten.

Custom configuration should be done in the override file (systemctl edit ollama) and this was not overwritten by the script for me

I did it and it is working:

[Service]
Environment="OLLAMA_HOST=0.0.0.0"
Environment="OLLAMA_CONTEXT_LENGTH=8192"
Environment="OLLAMA_FLASH_ATTENTION=1"
Environment="OLLAMA_KV_CACHE_TYPE=q8_0"
Environment="OLLAMA_KEEP_ALIVE=true"
systemctl restart ollama.service
<!-- gh-comment-id:3663250964 --> @razametal commented on GitHub (Dec 17, 2025): > > **Linux** If you have any custom configuration in `etc/systemd/system/ollama.service`, save it, otherwise it will be overwritten. > > Custom configuration should be done in the override file (`systemctl edit ollama`) and this was not overwritten by the script for me I did it and it is working: ~~~ [Service] Environment="OLLAMA_HOST=0.0.0.0" Environment="OLLAMA_CONTEXT_LENGTH=8192" Environment="OLLAMA_FLASH_ATTENTION=1" Environment="OLLAMA_KV_CACHE_TYPE=q8_0" Environment="OLLAMA_KEEP_ALIVE=true" ~~~ ~~~ systemctl restart ollama.service ~~~
Author
Owner

@CZR770 commented on GitHub (Mar 18, 2026):

I'm using a Mac and I'm trying to update it from the little oval menu thing on the top bar. It says "Update". I click "Update", I put my password in, it maybe loads for a second, and then nothing happens. For some reason, I can't use ollama in cline because ollama isn't updated.

<!-- gh-comment-id:4081404056 --> @CZR770 commented on GitHub (Mar 18, 2026): I'm using a Mac and I'm trying to update it from the little oval menu thing on the top bar. It says "Update". I click "Update", I put my password in, it maybe loads for a second, and then nothing happens. For some reason, I can't use ollama in cline because ollama isn't updated.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#362