fix: cannot install Raven in Windows via powershell 5.1
Summary
When you run install command in Powershell 5.1, there will be an error: Permanent Redirect to lead install failing.
Steps to reproduce
- Run "irm https://raven.evermind.ai/install.ps1 | iex" in Windows Powershell 5.1
Expected behavior
Raven should be installed
Actual behavior
Get error: "PS C:\Users\User> irm https://raven.evermind.ai/install.ps1 | iex irm : Permanent Redirect. 所在位置 行:1 字符: 1 + irm https://raven.evermind.ai/install.ps1 | iex + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod],WebException + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand""
Environment
OS: Windows 10专业版
Logs or screenshots
Thanks for the report, and sorry for the trouble!
The short URL raven.evermind.ai/install.ps1 returns an HTTP 308 (Permanent Redirect), which Windows PowerShell 5.1 does not follow -- hence the Permanent Redirect error. PowerShell 7+ follows it and works as-is.
Workaround until we update the docs:
- Windows PowerShell 5.1 -- use the direct URL:
irm https://raw.githubusercontent.com/EverMind-AI/Raven/refs/heads/main/install.ps1 | iex - PowerShell 7+ (
pwsh) -- the short URL works as-is:irm https://raven.evermind.ai/install.ps1 | iex
We'll update the README to cover both. Thanks again!