Environment variables

CLAUDE_CODE_REMOTE

Indicates whether the current Claude Code instance is executing inside a cloud session.

Syntax

CLAUDE_CODE_REMOTE

Type to search the reference, templates and lessons.