Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.305 ·

Cancelling claude auth login now exits with code 130

Cancelling the login flow now exits with code 130 instead of 1, and other errors still exit with 1

You'll notice Improvements
JSON All of v2.1.305
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
AuthArea: what it touches
ImprovementsKind: in v2.1.305,
ImprovementsSection of the release

Unclear It is not clear exactly which errors count as a cancel and get code 130, such as pressing Ctrl-C.

What

An exit code is the number a program hands back when it finishes, which scripts use to tell success from failure. When the login flow is cancelled, Claude Code now exits with code 130. Other login errors still exit with code 1, which used to be the code in every case. The cleanup on exit also now stops listening for keyboard input.

Why

Scripts that wrap claude auth login will see 130 instead of 1 on cancel, and may need updating if they check for 1.

Read from
Names in the bundleclaude auth login
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up claude auth login, on Authentication. * **Earlier sign-in**: you ran [`claude auth login`](/docs/en/cli-reference#cli-commands) in your shell before your first session, or you rebuilt a dev container that keeps your credentials in a [volume](/docs/en/devcontainer#persist-authe… authentication see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear exactly which errors count as a cancel and get code 130, such as pressing Ctrl-C.
Anthropic's documentation agreesAnthropic's documentation has since written up claude auth login, on Authentication.

See this entry in the whole of v2.1.305 →

Feedback