openai / openai/codex

Support Scoop installations in `codex update` on Windows

Open
#42,715 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

CLI enhancement windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What variant of Codex are you using?

Codex CLI on Windows

What feature would you like to see?

Problem

codex update does not detect installations managed by Scoop on Windows.

For example, after installing Codex with Scoop, codex update returns:

Error: Could not detect the Codex installation method. Please update manually

The working update command is:

scoop update codex

Requested improvement

Please detect Scoop-managed installations (for example, when the executable resolves through scoop/shims or scoop/apps/codex/current) and make codex update either:

  1. Run or delegate to scoop update codex, or
  2. Clearly report that Codex was installed with Scoop and provide the exact update command.

This would make the native update command work consistently for Windows users and reduce confusion about the installation method.

Additional information

Installed version before the update: 0.147.0. Scoop updated it successfully to 0.153.2.

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.

Research direction

Start at the codex update installation-method detection and reproduce the failure on Windows with a Scoop-managed installation. Trace how executable paths such as scoop/shims or scoop/apps/codex/current are handled, then verify that the command either invokes scoop update codex or reports that exact command to the user.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, rust
Domain
cli, operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.