From 9baf5b16014d4480a12127043f713d0630e8326e Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Fri, 22 May 2026 10:28:05 -0700 Subject: [PATCH] docs: update README.md to mention curl-based installer --- README.md | 15 +++++++++++++-- codex-rs/tui/src/update_action.rs | 14 ++++++++++++-- 2 files changed, 25 insertions(+), 4 deletions(-) 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.

Codex CLI splash @@ -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" + ][..], ) ); }