Windows Powershell installation instructions should use -NoProfile
Open 💬 1 comment Opened Jul 31, 2026 by ApexDevelopment
What is the type of issue?
Something else
What is the issue?
Simply running powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex" does not work on a system with starship.rs installed because of a polyfill that gets loaded. This causes architecture detection to fail. The working command is:
powershell -NoProfile -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"
Which skips loading anything that might interfere with the script.
Where did you find it?
_No response_
1 Comment
I concur, I ran into the same issue although in my case I believe it was caused by a WinGet module.