claude remote-control fails with "bad option: --sdk-url" on Node.js v22.22.0
Resolved 💬 3 comments Opened Feb 25, 2026 by WILLIAMSTAMP Closed Mar 1, 2026
Description
claude remote-control immediately fails with a Node.js error indicating --sdk-url is not a recognized option.
Error Output
Session failed: /opt/homebrew/Cellar/node@22/22.22.0_1/bin/node: bad option: --sdk-url session_01JNJyk9G7Ldyr2WsJh9cxPd
To reconnect: claude --resume session_01JNJyk9G7Ldyr2WsJh9cxPd
Environment
- Claude Code version: 2.1.56
- Node.js version: v22.22.0 (Homebrew)
- OS: macOS (Darwin 25.3.0, Tahoe)
- Platform: Apple Silicon (arm64)
- Shell: zsh
Steps to Reproduce
- Install Claude Code v2.1.56 via npm
- Run
claude remote-controlin any directory - Session immediately fails
Expected Behavior
Remote Control session should start and provide a connection URL.
Notes
It appears the CLI is passing --sdk-url as a Node.js flag when spawning a child process, but Node v22.22.0 doesn't recognize it. This may be a compatibility issue with how the subprocess is invoked.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗