Codex CLI install fails on Windows – “Access token expired or revoked” & 404 on npm

Resolved 💬 1 comment Opened Dec 29, 2025 by leifi9 Closed Dec 29, 2025

What version of Codex is running?

Version of Codex: v 0.77.0

What subscription do you have?

: Codex CLI install fails on Windows – “Access token expired or revoked” & 404 on npm

Which model were you using?

gpt‑5.2‑codex xhigh

What platform is your computer?

Windows 11 x64. Vorgehensweise in PowerShell (Administrator).

What issue are you seeing?

Issue:
Beim Versuch, Codex CLI gemäß Dokumentation zu installieren, schlägt die Installation via npm fehl. Schritte:

Node JS LTS via winget install -e --id OpenJS.NodeJS.LTS -s winget installiert.

In einer neuen PowerShell‑Sitzung (Admin) npm i -g @openai/codex ausgeführt.

Ausgabe:
npm notice Access token expired or revoked. Please try logging in again.
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@openai%2fcodex - Not found
npm ERR! 404 The requested resource '@openai/codex@*' could not be found or you do not have permission to access it.

What steps can reproduce the bug?

Uploaded thread: 019b68f9-b7c6-78e1-
95c6-cb727b56596c

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗