diff --git a/README.md b/README.md index 5cc7fd4953cb..77c8d2199cac 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ -
npm i -g @openai/codex
or brew install --cask codex
Codex CLI is a coding agent from OpenAI that runs locally on your computer.
@@ -14,7 +13,19 @@ If you want Codex in your code editor (VS Code, Cursor, Windsurf), (
"powershell",
- &["-c", "irm https://chatgpt.com/codex/install.ps1|iex"],
+ &[
+ "-ExecutionPolicy",
+ "Bypass",
+ "-c",
+ "irm https://chatgpt.com/codex/install.ps1 | iex",
+ ],
),
}
}
@@ -142,7 +147,12 @@ mod tests {
UpdateAction::StandaloneWindows.command_args(),
(
"powershell",
- &["-c", "irm https://chatgpt.com/codex/install.ps1|iex"][..],
+ &[
+ "-ExecutionPolicy",
+ "Bypass",
+ "-c",
+ "irm https://chatgpt.com/codex/install.ps1 | iex"
+ ][..],
)
);
}