Skip to content

Windows: codex sign-in menu exits immediately (can’t press Enter / select option) #10661

@CodebyAmbrose

Description

@CodebyAmbrose

Hi — I’m on Windows and can’t get past the Codex CLI sign-in screen.

What happens

Running codex shows the sign-in options (ChatGPT / Device Code / API key)

Before I can press Enter or choose an option, it immediately drops back to the terminal prompt

Running it again repeats the same screen (loop)

Tried

PowerShell and CMD (same behavior)

Environment

OS: Windows 11

Image

codex-cli: 0.95.0

node: v22.19.0

npm: 10.9.3

Any guidance on what to check or how to get logs to diagnose why the interactive sign-in menu exits instantly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayauthIssues related to authentication and accountsbugSomething 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