Skip to content

Update command doesn't work as require inside WSL Terminal on Windows 11 #8065

@Marve10s

Description

@Marve10s

What version of Codex is running?

0.65.0

What subscription do you have?

Team Plan

Which model were you using?

gpt-5.2 medium

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What issue are you seeing?

I’m trying to update Codex in my project from 0.65.0 to 0.72.0. The updater prompts “Update available! 0.65.0 -> 0.72.0” and offers “Update now (runs npm install -g @openai/codex)”. Running the suggested command returns:

Updating Codex via `npm install -g @openai/codex`...

changed 1 package in 3s

🎉 Update ran successfully! Please restart Codex.

After restarting, I get the same update prompt again, it loops infinitely. I tried “Skip” and “Skip until next version” (the issue first appeared when updating to 0.71.0), manually reinstalling, and deleting the Codex installation from my WSL Linux home on Windows, but the prompt persists

What steps can reproduce the bug?

  • Accept the update prompt “Update available! 0.65.0 -> 0.72.0”.
  • Choose “Update now” (runs npm install -g @openai/codex).
  • Observe the success message
  • Restart Codex - the update prompt reappears.
Image Image

What is the expected behavior?

Codex CLI should update itself to latest version,

Additional information

This is happening only for Codex, I do not have issues with other CLI tools. Also it works properly on Windows so issue related to Codex being inside the project that was created inside WSL Env.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions