Remote Control Isn't Available in This Environment: Fix (2026)
The error /remote-control isn't available in this environment. means the place you typed the command can't run it. Nearly every report comes from the Claude Desktop app's Code tab.
The quickest fix is to run claude --remote-control in a real terminal. If that fails, restart the app or log in again. Macky puts your Mac's terminal on your iPhone, which helps when the fix needs a terminal and you're away from your desk.
What the error means
The text is a generic "not available here" message. The leading slash and the command name change with the command. The same wording shows up for /login and /status in Desktop or the VS Code extension. It also appears for /goal, /permissions, and /design-login.
One reporter read the shipped binary of Claude Code 2.1.156 in Desktop. Non-interactive sessions there check a denylist. It includes list, scheduled, and assistant. It also includes remote-control and hub. They also say the changelog doesn't mention this change.
How to fix it
Try these in order.
- Start it from a terminal. Run the command below in Terminal on your Mac. One reporter confirmed it worked on 2.1.158.
- Fully quit and reopen the Desktop app. After an auto-update, or after the bridge drops silently, every new session can return the error until the app restarts. Quit it completely. Closing the window isn't enough.
- Log in again for a full-scope token. Desktop 2.1.111 on Windows injected an inference-only
CLAUDE_CODE_OAUTH_TOKEN. Runclaude auth login, then retry. - Check your plan. Remote Control is available on Pro and Max plans. It is also available on Ultra, Team, and Enterprise plans.
claude --remote-controlWithout an eligible login, claude remote-control exits with an error. claude --remote-control starts an interactive session with Remote Control off.
Run the fix from your iPhone
Remote Control needs a real terminal session on your Mac. Macky gives you that terminal on your iPhone, so you can run claude --remote-control or log in again while you're away.
Your Mac's terminal and screen appear on your iPhone over an end-to-end encrypted connection. No ports are opened on your network.

Errors that look similar
| Error text | Cause | What to do |
|---|---|---|
Remote Control requires a full-scope login token. Run claude auth login to use Remote Control. | Inference-only token | Run claude auth login |
Remote Control environments are not available for your account. | Account or plan gate | Check your plan, then see Claude Code Remote Control not working |
failed to connect: /login | Reported in Desktop 1.8555.2 on Pro | No confirmed fix |
If it still fails
If you use an ACP adapter, a /remote-control sent while a turn is running gets refused with this error. Send it when the session is idle. That is an adapter bug.
No fix version is confirmed in the GitHub issues. For setup and limits, read Claude Code Remote Control: Setup, Limits and Fixes.
FAQ
What does "isn't available in this environment" mean in Claude Code?
The place where you typed the command can't run it. Most reports come from the Claude Desktop app's Code tab or the VS Code extension. The same message also appears for other slash commands.
How do I start Remote Control if the slash command is blocked?
Run claude --remote-control in a terminal. It is reported to work where the Desktop app's built-in session refuses the command.
Which plans can use Claude Code Remote Control?
Remote Control is available on Pro and Max plans, according to the official docs. It is also available on Ultra, Team, and Enterprise plans. Without an eligible login, claude remote-control exits with an error.
Do other commands show the same error?
Yes. Reporters saw the same text for /login and /status in Desktop or the VS Code extension. They also saw it for /goal, /permissions, and /design-login.
Related Guides & Comparisons
Try Macky
Connect to your Mac terminal from your iPhone.