mirror of
https://github.com/ollama/ollama.git
synced 2026-04-27 19:25:55 +02:00
Add interactive update check to CLI TUI and `ollama update` command On TUI launch, check for updates in the background and cache the result as a marker file (~/.ollama/update). On the next launch, if a cached update exists, print a one-line notice before the TUI starts. The check is skipped for dev builds (0.0.0), alternative installs (e.g. brew, choco), and remote Ollama hosts. Add `ollama update` subcommand that downloads and runs the platform-appropriate install script (install.sh on Linux/macOS, install.ps1 on Windows). Refuses to run if the binary wasn't installed via official channels unless --force is passed. Co-Authored-By: RajeshKumar11 <22585507+rajeshkumar11@users.noreply.github.com>