[BUG] Remote-control fails with bad option: --sdk-url session_XXX

Resolved 💬 3 comments Opened Mar 3, 2026 by tazmaan-defi Closed Mar 6, 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?

The --sdk-url being treated as a node flag rather than a CLI argument

  • OS: WSL2 (Linux 6.6.87.2-microsoft-standard-WSL2)
  • Node: v20.20.0
  • Claude Code: 2.1.63
  • Error: bad option: --sdk-url session_XXX

What Should Happen?

should provide link and/or QR code for remote control

Error Messages/Logs

[23:35:15] Session failed: /usr/bin/node: bad option: --sdk-url session_015dMgMkGnwhuPkXd2XVe82P
[23:35:15] To reconnect: claude --resume session_015dMgMkGnwhuPkXdXXXXXXX

Steps to Reproduce

claude remote-control

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.63 and 2.1.62 both fail

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗