Claude Code
Sign in to Claude Code with a code instead of a localhost redirect.
Claude Code is preinstalled on the disk image, so it starts without an install step.
Signing in
Claude Code normally completes sign-in by redirecting to a localhost address on the machine it runs on. In BrowserCode that machine is the MicroVM in your tab, which your browser cannot reach. BrowserCode switches the redirect to Anthropic's code-based flow and opens the sign-in page for you.
- Start Claude Code and choose a login method.
- Approve the sign-in in the tab that opens. If your browser blocks the tab, open the URL shown in the terminal.
- Copy the code shown on the page.
- Paste the code at the prompt in the terminal.
Your credentials are stored in your browser, so you stay signed in between visits. Clearing site data signs you out.
Next
Codex CLI