Move Sessions Between Terminal and Web with --remote and --teleport
Claude Code can create and resume sessions on the web, letting you start work from the terminal and pick it up in a browser, or the other way around.
# Launch a task as a web session on claude.ai
claude --remote "Fix the login bug in the auth service"
This creates a new web session with your task description and opens it in your browser. The session runs on claude.ai with full access to your codebase context.
Going the other direction, --teleport pulls a web session back into your local terminal:
# Resume a web session locally
claude --teleport
This is useful when you started a task on the web but need local tool access, or when you want to hand off a complex investigation to run in the cloud while you step away.
You can also enable bidirectional control with --remote-control (or --rc), which starts a local interactive session that can also be controlled from claude.ai or the Claude app:
# Start with remote control enabled
claude --remote-control "My Project"
# or shorter
claude --rc
This gives you the flexibility to switch between your terminal and the web interface mid-session, depending on what is more convenient at the moment.
Your Claude Code sessions are not locked to where you started them.
Log in to leave a comment.
The /security-review command scans your uncommitted changes for injection vectors, auth gaps, hardcoded secrets, and other common vulnerabilities.
The SessionStart hook fires when any session begins or resumes, making it ideal for loading environment variables and running one-time setup scripts.
Ask Claude to write property-based tests for your functions using fast-check — it identifies the mathematical invariants in your code and generates tests that cover inputs you'd never enumerate by hand.