claude remote-control fails with "bad option: --sdk-url"

Resolved 💬 2 comments Opened Feb 25, 2026 by growthstory-products Closed Feb 25, 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?

claude remote-control immediately fails. Node receives --sdk-url as if it were a Node flag.

Error output:
[22:48:09] Session failed:
/Users/.../.local/share/fnm/node-versions/v20.20.0/installation/bin/node: bad option: --sdk-url
session_01D7qEBvdKMmMY3M9pvEWYNF

Environment:

  • Claude CLI version: (run claude --version and paste here)
  • Node: v20.20.0 (via fnm)
  • OS: macOS (Darwin 25.3.0)
  • Shell: zsh

Also reproduced with Node 22 via Homebrew (/opt/homebrew/Cellar/node@22/22.22.0).

What Should Happen?

Claude Code should launch remote control

Error Messages/Logs

Steps to Reproduce

claude remote-control

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.56

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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