[BUG] remote-control fails with "bad option: --sdk-url" on macOS (Homebrew Node)
Resolved 💬 3 comments Opened Feb 26, 2026 by jeaneudesy Closed Mar 1, 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?
[BUG] remote-control fails with "bad option: --sdk-url" on macOS (Homebrew Node)
Environment
- Node: v22.22.0 (via Homebrew: /opt/homebrew/Cellar/node@22/22.22.0/bin/node)
- OS: macOS
What Should Happen?
Expected behavior
Remote Control session starts successfully.
Error Messages/Logs
**Error**
[01:30:58] Session failed: /opt/homebrew/Cellar/node@22/22.22.0/bin/node: bad option: --sdk-url session_011aKKcVHFhTPtP39oYoY9WF
[01:30:58] To reconnect: claude --resume session_011aKKcVHFhTPtP39oYoY9WF
Steps to Reproduce
Steps to reproduce
claude remote-control- Confirm with
y
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
v2.1.58
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Notes--sdk-url is being passed as a Node.js flag instead of an application argument.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗