[PR #14178] [MERGED] win: add curl-style install script #14553

Closed
opened 2026-04-13 00:57:40 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14178
Author: @dhiltgen
Created: 2/9/2026
Status: Merged
Merged: 2/9/2026
Merged by: @dhiltgen

Base: mainHead: install_ps1


📝 Commits (1)

  • 22c871f win: add curl-style install script

📊 Changes

4 files changed (+289 additions, -8 deletions)

View changed files

📝 .github/workflows/release.yaml (+5 -1)
📝 scripts/build_windows.ps1 (+10 -0)
scripts/install.ps1 (+271 -0)
📝 scripts/install.sh (+3 -7)

📄 Description

This adds a new powershell install script suitable for running via

irm https://ollama.com/install.ps1 | iex

If you download the script and run with '-?' it reports basic usage information, as well as usage examples for common customization options. The script is signed as part of the release process to ensure it can run on a typically configured Windows system.

This does not include doc updates - we can merge those after a release ships to avoid user confusion.

Verified by doing a full local build with scripts/build_windows.ps1, then ran cd dist; python -m http.server 8000 then on a remote test system:

$env:OLLAMA_DOWNLOAD_URL="http://devbox:8000/"
irm $env:OLLAMA_DOWNLOAD_URL/install.ps1 | iex
Downloading Ollama...
Installing...
Install complete. You can now run 'ollama'.

This script is intended to evolve via #14081 to support a more streamlined windows install experience. As currently structured, the download step can take a while on a slower network connection.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/14178 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 2/9/2026 **Status:** ✅ Merged **Merged:** 2/9/2026 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `install_ps1` --- ### 📝 Commits (1) - [`22c871f`](https://github.com/ollama/ollama/commit/22c871f4e284b29bef35698ddc1ad77dd4ad02fa) win: add curl-style install script ### 📊 Changes **4 files changed** (+289 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/release.yaml` (+5 -1) 📝 `scripts/build_windows.ps1` (+10 -0) ➕ `scripts/install.ps1` (+271 -0) 📝 `scripts/install.sh` (+3 -7) </details> ### 📄 Description This adds a new powershell install script suitable for running via irm https://ollama.com/install.ps1 | iex If you download the script and run with '-?' it reports basic usage information, as well as usage examples for common customization options. The script is signed as part of the release process to ensure it can run on a typically configured Windows system. This does not include doc updates - we can merge those after a release ships to avoid user confusion. Verified by doing a full local build with `scripts/build_windows.ps1`, then ran `cd dist; python -m http.server 8000` then on a remote test system: ```powershell $env:OLLAMA_DOWNLOAD_URL="http://devbox:8000/" irm $env:OLLAMA_DOWNLOAD_URL/install.ps1 | iex Downloading Ollama... Installing... Install complete. You can now run 'ollama'. ``` This script is intended to evolve via #14081 to support a more streamlined windows install experience. As currently structured, the download step can take a while on a slower network connection. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 00:57:40 -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#14553