[BUG] Version 2.1.0 released

Resolved 💬 18 comments Opened Jan 7, 2026 by shanytc Closed Jan 7, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

trying to install 2.1.0 (from the windows using irm https://claude.ai/install.ps1 | iex
and running claude gives: ERROR Invalid Version: 2.1.0 (2026-01-07)

What Should Happen?

claude should run

Error Messages/Logs

B:/~BUN/root/claude.exe:810:8909

 807 `).slice(1).map((f)=>{let E=bED.parseLine(f);if(!E)return
 :  jP.default.createElement(JQ,{key:f},jP.default.createElement(T,{dimColor:!0},"-
    "),jP.default.createElement(T,{dimColor:!0,bold:!0},f));return
    jP.default.createElement(JQ,{key:f},jP.default.createElement(T,{dimColor:!0},"-
    "),jP.default.createElement(T,{dimColor:!0,bold:!0},E.function),jP.default.createElement(T,{dimColor:!0},"
     ","(",SED(E.file)??"",":",E.line,":",E.column,")"))})))}var gI$,f$A,jP,I$A,SED=(H)=>{return
    H?.replace(`file://${f$A.cwd()}/`,"")},bED;var hED=X(()=>{YED();IKH();kI$();gI$=u(require("fs")),f$A=requi
    re("process"),jP=u(fH(),1),I$A=u(NED(),1),bED=new
    I$A.default({cwd:f$A.cwd(),internals:I$A.default.nodeInternals()})});function
    uED(H){return{name:"",fn:!1,ctrl:!1,meta:!1,shift:!1,option:!1,sequence:H,raw:H,isPasted:!0}}function
    Ez0(H){if(yED.Buffer.isBuffer(H))if(H[0]>127&&H[1]===void 0)return H[0]-=128,"\x1B"+String(H);else return
    String(H);else if(H!==void 0&&typeof H!=="string")return String(H);else if(!H)return"";else return
    H}function vED(H,$=""){let A=$===null,L=A?"":Ez0($),D=H._tokenizer??KBH(),I=A?D.flush():D.feed(L),f=[],E=H
    .mode==="IN_PASTE",M=H.pasteBuffer;for(let V of I)if(V.type==="sequence")if(V.value===L1D)E=!0,M="";else
    if(V.value===D1D){if(M)f.push(uED(M));E=!1,M=""}else if(E)M+=V.value;else f.push(RED(V.value));else
    if(V.type==="text")if(E)M+=V.value;else f.push(RED(V.value));if(A&&E&&M)f.push(uED(M)),E=!1,M="";let
    _={mode:E?"IN_PASTE":"NORMAL",incomplete:D.buffer(),pasteBuffer:M,_tokenizer:D};return[f,_]}function
    Vz0(H){let $=H-1;return{shift:!!($&1),meta:!!($&2)||!!($&8),ctrl:!!($&4)}}function Wz0(H){switch(H){case
    9:return"tab";case 13:return"return";case 27:return"escape";case 32:return"space";case
    127:return"backspace";default:if(H>=32&&H<=126)return
    String.fromCharCode(H).toLowerCase();return}}function RED(H=""){let $,A={name:"",fn:!1,ctrl:!1,meta:!1,shi
    ft:!1,option:!1,sequence:H,raw:H,isPasted:!1};A.sequence=A.sequence||H||A.name;let L;if(L=fz0.exec(H)){let
     D=parseInt(L[1],10),I=L[2]?parseInt(L[2],10):1,f=Vz0(I);return{name:Wz0(D),fn:!1,ctrl:f.ctrl,meta:f.meta,
    shift:f.shift,option:!1,sequence:H,raw:H,isPasted:!1}}if(H==="\r")A.raw=void 0,A.name="return";else
    if(H===`

Steps to Reproduce

  1. install via irm https://claude.ai/install.ps1 | iex
  2. run claude
  3. crash

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

N/A

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

18 Comments

vbhakta8 · 6 months ago

same getting on mac os

d-oliveros · 6 months ago

It's happening for me too. I can't start new claude code sessions:

 ERROR  Invalid Version: 2.1.0 (2026-01-07)

 file:///Users/david/.nvm/versions/node/v24.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:869:8900

 - iT (file:///Users/david/.nvm/versions/node/v24.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:869:8900)
 - SJ8 (file:///Users/david/.nvm/versions/node/v24.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:869:14028)
 - Object.dJ8 (file:///Users/david/.nvm/versions/node/v24.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:869:14584)
 -  (file:///Users/david/.nvm/versions/node/v24.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:3091:4240)
 -     at Array.sort (<anonymous>)
 - de2 (file:///Users/david/.nvm/versions/node/v24.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:3091:4224)
 - VA9 (file:///Users/david/.nvm/versions/node/v24.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:3091:13453)
 - GY (file:///Users/david/.nvm/versions/node/v24.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:743:20692)
 - V8 (file:///Users/david/.nvm/versions/node/v24.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:743:39055)
 - Ae (file:///Users/david/.nvm/versions/node/v24.11.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:743:49661)
 - ```
EricPaulson · 6 months ago

Same here.

eliransu · 6 months ago

same

baicunko · 6 months ago

Same here. Unable to start a claude code session

anshul-garg27 · 6 months ago

same here, I'm not able to start

ariastudd · 6 months ago

same

dimadem · 6 months ago

same

alex-hairexplained · 6 months ago

Same

DukeWood · 6 months ago

same on MacOS NOW

aloks98 · 6 months ago
I have searched existing issues and this hasn't been reported yet

You didn't

SpaceDA · 6 months ago

suspected root cause:

The changelog cache at ~/.claude/cache/changelog.md has version 2.1.0 with a date suffix that breaks semver parsing:

## 2.1.0 (2026-01-07) ← Invalid - causes crash
## 2.0.76 ← Valid - previous format
## 2.0.75 ← Valid

All prior versions use plain semver (2.0.76, 2.0.75, etc.). Only 2.1.0 has the (2026-01-07) suffix.

eduardlleshi · 6 months ago

Install via brew fixes it brew install --cask claude-code

efstathiosntonas · 6 months ago
github-actions[bot] · 6 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/16687
  2. https://github.com/anthropics/claude-code/issues/16682
  3. https://github.com/anthropics/claude-code/issues/16675

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

webdevtodayjason · 6 months ago

Same here

github-actions[bot] · 6 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.