Use Claude Code in the cloud changedclaude-code-on-the-web
Nearest release: v2.1.335, published under an hour after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 2 Dec 2026 21:37 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 2 Dec 2026 22:07 UTC.
Upstream edited
Recorded here
Lines+32added
Lines−1removed
From line
247
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits89to this page, all time
### Use a folder on your computer from a cloud session #### Set up Claude Desktop #### Connect a session to your computer
The whole hunk
from line 247, old and new numbered
/
from line 247
247247* Reopen a session whose Anthropic-hosted [environment expired](#environment-expired)
248248* Send a message to a session that a self-hosted runner [released while it was idle](https://code.claude.com/docs/en/self-hosted-environments-reference.md#runner-cli-flags)
249249
250### Use a folder on your computer from a cloud session
251
252Connect your Mac or Linux computer to a cloud session so Claude can use tools and files that are only on that computer. For example, the cloud machine doesn't have Xcode, but Claude can run an Xcode build on your Mac, read the result, and keep working in the cloud.
253
254The session runs in the cloud but reaches your computer through Claude Desktop. Keep the app open on your computer, or the cloud session can't access your tools and files.
255
256> [!NOTE]
257>
258> You can connect a computer on Pro, Max, and Ultra plans, in sessions you start yourself outside a [project](https://code.claude.com/docs/en/claude-projects.md). Requires [Claude Desktop](https://code.claude.com/docs/en/desktop.md) v5.11492.5 or later.
259>
260> To run sessions on your computer and access them from other devices, use [Remote Control](https://code.claude.com/docs/en/remote-control.md) instead.
261
262#### Set up Claude Desktop
263
264To let cloud sessions connect to your computer, open **Settings > Code** or **Settings > Claude Code** in Claude Desktop, scroll to the **Remote Control** group, and make these changes:
265
266* Turn on the **Let your phone and claude.ai start sessions here** toggle.
267* Turn on the **Let cloud sessions run commands here in auto mode** toggle, then select the **Allow** button. You need this toggle even outside auto mode.
268* If the folder you want Claude to work in, such as your Xcode project, isn't in the **Folders** list, select the **Add folder** button.
269
270
271
272#### Connect a session to your computer
273
274Start a new cloud session and send a request such as "Run the Xcode build on my Mac". If Claude asks whether you trust the session's repositories, check the list and confirm. Claude then asks to use a folder on your computer. Before you select the **Allow** button, know what connecting changes:
275
276* **Which files Claude uses**: Claude uses the files in that folder, which are separate from the session's cloud copy of your repository. If the folder is a clone of a GitHub repository the session can push to, ask Claude to push its cloud changes and pull them into the folder.
277* **What Claude can reach**: commands start in the folder, but Claude can reach files outside it. In [auto mode](https://code.claude.com/docs/en/permission-modes.md#eliminate-prompts-with-auto-mode) it runs commands and edits files without asking first, and in [plan mode](https://code.claude.com/docs/en/permission-modes.md#analyze-before-you-edit-with-plan-mode) it can run commands without asking. To limit Claude, add [deny rules](https://code.claude.com/docs/en/permissions.md#manage-permissions) to `~/.claude/settings.json` on your computer and turn on the [sandbox](https://code.claude.com/docs/en/sandboxing.md) for shell commands.
278* **Sharing and sign-in**: you can't share the session, and it opens only on [trusted devices](https://code.claude.com/docs/en/remote-control.md#trusted-devices), so a browser or Desktop app that isn't trusted yet asks you to sign in again. Both limits stay on the session after you disconnect.
279
280To disconnect your computer on claude.ai or in Desktop, select its label at the top of the session, then the **Disconnect** button.
281
250282### Review changes
251283
252284After Claude pushes its changes to a branch, the **Changes** card in the panel beside the chat shows the lines added and removed, such as `+42 -18`. Click the line counts on the **Changes** card to open the diff view.
from line 510
478510
479511* **Rate limits**: cloud sessions share rate limits with all other Claude and Claude Code usage within your account. Running multiple tasks in parallel consumes more rate limits proportionately.
480512* **Time limits**: commands Claude runs and SessionStart hooks have default timeouts you can change, and a setup script is cached only when it finishes in roughly five minutes. See [Time limits](https://code.claude.com/docs/en/cloud-environments.md#time-limits)
481* **Repository authentication**: you can only pull a cloud session into your terminal when you are authenticated to the same account
482513* **Platform restrictions**: repository cloning in Anthropic-hosted environments and pull request creation require GitHub. Self-hosted [GitHub Enterprise Server](https://code.claude.com/docs/en/github-enterprise-server.md) instances are supported for Team and Enterprise plans. You can send a GitLab, Bitbucket, or other non-GitHub repository to a cloud session as a [local bundle](#send-local-repositories-without-github) by setting `CCR_FORCE_BUNDLE=1`, but the session can't push results back to that remote
483514 * **Self-hosted environments**: for a repository on another git host, see the [requirements for starting a session with `--environment`](https://code.claude.com/docs/en/self-hosted-environments-deploy#start-a-session-on-a-repository-outside-github).
484515
No line in this hunk matches that.