Monday, 23 November 2026

Installing Ollama on Windows

Here's the way.

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

irm in this (NOT information rights management) is a PowerShell alias for Invoke-RestMethod, used to fetch content from URLs (similar to curl). It only works from a PowerShell window and not a regular command window.  If you were to run it from a command window here's what you would get:

'irm' is not recognized as an internal or external command, operable program or batch file

iex refers to the PowerShell cmdlet Invoke-Expression, evaluating a string as PowerShell code.

No comments: