[GH-ISSUE #15451] Add ollama update command for easy version upgrades and downgrades #71936

Closed
opened 2026-05-05 03:03:31 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @suryacagur on GitHub (Apr 9, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15451

Currently, updating Ollama requires running the install script manually:

curl -fsSL https://ollama.com/install.sh | sh

Or specifying a version via environment variable:

curl -fsSL https://ollama.com/install.sh | OLLAMA_VERSION=0.5.7 sh

This process can be cumbersome and error-prone for users.

Feature request:

Introduce a dedicated ollama update command to simplify version management:

  1. Upgrade to latest version:
ollama update
  1. Upgrade to a specific version:
ollama update --version 0.5.7

Only allows upgrading (not downgrading) to prevent accidental regressions.

  1. Optional downgrade support:
ollama downgrade --version 0.5.6

Provides a safe way to revert to previous versions in case of critical bugs.

Benefits:

  • Simplifies version management for all users.
  • Reduces manual commands and mistakes.
  • Provides a clear, user-friendly workflow for both upgrades and downgrades.

Make sure the update process also handles restarting the ollama service so that the server version is in sync with the newly downloaded CLI version.

Originally created by @suryacagur on GitHub (Apr 9, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15451 Currently, updating Ollama requires running the install script manually: ``` curl -fsSL https://ollama.com/install.sh | sh ``` Or specifying a version via environment variable: ``` curl -fsSL https://ollama.com/install.sh | OLLAMA_VERSION=0.5.7 sh ``` This process can be cumbersome and error-prone for users. **Feature request:** Introduce a dedicated ollama update command to simplify version management: 1. Upgrade to latest version: ``` ollama update ``` 2. Upgrade to a specific version: ``` ollama update --version 0.5.7 ``` Only allows upgrading (not downgrading) to prevent accidental regressions. 3. Optional downgrade support: ``` ollama downgrade --version 0.5.6 ``` Provides a safe way to revert to previous versions in case of critical bugs. **Benefits:** - Simplifies version management for all users. - Reduces manual commands and mistakes. - Provides a clear, user-friendly workflow for both upgrades and downgrades. >Make sure the update process also handles restarting the ollama service so that the server version is in sync with the newly downloaded CLI version.
GiteaMirror added the feature request label 2026-05-05 03:03:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#71936