--remote mode runs your Qoder CLI CN tasks directly in a Qoder-managed cloud VM, so your local computer does not need to stay on or remain active. The entire flow from issuing the instruction to producing the result is hosted in the cloud, with your local terminal serving only as the entry point.
Complements the existing Remote Control mode.
Use cases
- Long-running tasks: training, bulk refactoring, large-scale code review, where tying up the local machine for a long time is inconvenient.
- Fire-and-forget while offline: write a prompt on a plane or the subway, and check the result when you're back.
- Unified environment: team members share a consistent set of dependencies and tools, avoiding "works on my machine."
- Resource isolation: the cloud VM provides independent CPU / memory / network quotas without competing with your local machine.
Quick start
1. Start a task in the cloud
Pass the --remote flag directly in the terminal:
If you get a
Cannot find package error, switch to the HTTP API quick start and call the Cloud Agents API directly via curl.- Create a new Cloud Session in the selected remote environment.
- Send the task description to the cloud Agent.
- Stream the cloud Agent's output (thinking, tool calls, final result) to your local terminal in real time.
- Print the session URL when the task completes, so you can follow up on the Web:
2. Choose the cloud execution environment with /remote-env
In an existing qodercn interactive session, type:
~/.qoder-cn/settings.json:
--remote invocations reuse this default environment without re-selecting each time.
Command reference
qodercn --remote "<task>"
| Item | Description |
|---|---|
| Purpose | Start a cloud session from the CLI, executing the task in a Qoder-managed VM |
| Context | Does not depend on the local working directory; all reads and writes happen in the cloud environment |
| Interrupt behavior | Pressing Ctrl+C locally only disconnects the terminal subscription; the cloud task keeps running |
| Sign-in required | Yes (first use triggers qodercn login) |
| GitHub authorization required | Requires authorizing Qoder for the corresponding GitHub repositories (Qoder website > Service integrations > GitHub integration) |
/remote-env
| Item | Description |
|---|---|
| Where to trigger | Available only in a qodercn interactive session (type / and select) |
| Purpose | Select / switch / create a cloud execution environment as the default for --remote |
| Scope | User level (written to ~/.qoder-cn/settings.json), shared across terminals |
FAQ
Q: Can --remote mode read local unsaved changes?
No. A --remote task runs in a separate cloud VM and accesses the Remote GitHub project associated with the current environment.
Q: Can I run multiple --remote tasks on one computer at the same time?
Yes. Each --remote invocation creates an independent cloud Session without affecting the others. The task list is available in the Cloud Agents console.

