Windows Powershell installation instructions should use -NoProfile

Open Beginner friendly
#36,247 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
85/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
powershell
Domain
documentation

Research direction

Find the Windows PowerShell installation instructions containing the command powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex". Update that command to include -NoProfile, then verify the documented command matches the working form described in the issue.

Written by the indexing model from the issue text.

Description

CLI documentation windows-os
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

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.