AI News Daily한국어
← AI tool tips
Claude Code✓ Confirmed in official docsAdded Nov 21

How to print the full Claude Code sign-in link when the short one fails

From Claude Code 2.1.330 (November 20), the claude.ai sign-in link shown by /login, claude auth login and claude setup-token is much shorter. If the short link shows an error, or a script of yours reads values from the link, set an environment variable to print the full link.

CLAUDE_CODE_FULL_SIGN_IN_LINK=1 claude auth login

To keep it on, put it in your shell profile.

export CLAUDE_CODE_FULL_SIGN_IN_LINK=1

The variable is in the changelog only for now and is not yet on the environment variables page.

Get notified when a new tip lands

Tip alerts only go out in the app. Install it and turn notifications on.

Get the app

All tips →