Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.166 ·

--cloud replaces --remote for cloud sessions

Entry
JSON All of v2.1.166
EntryKind: in v2.1.166,
ChangesSection of the release
What

The flag to create or attach to cloud sessions has been renamed from --remote to --cloud. The old --remote continues to work as a deprecated alias so existing scripts don't break.

Usage
# Start a new cloud session
claude --cloud "your task description"

# Attach to an existing session by ID
claude --cloud <session-id>

# Attach by claude.ai/code URL
claude --cloud https://claude.ai/code/...
Details
  • All error messages, help text, and usage examples now use --cloud
  • --remote is still accepted but shows in the --help output as "Deprecated alias for --cloud"
  • The --bg conflict message has been updated: "Use claude --cloud '<task>' directly to start a cloud session"
  • Sessions started with claude --cloud display the correct browser link message
Evidence

CLI flag rename — all error strings updated (search for "Error: --cloud cannot be combined with")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.166 →

Feedback