# Resume a Claude Code session on another computer

> Claude Code keeps its sessions on the machine that ran them, so another computer cannot simply pick one up. Run the session in an EnvHaven workspace, which every device can reach, and each one resumes the same session.

_Updated November 23, 2026_

Claude Code stores each conversation on the computer that ran it, under your home folder, next to the project's files. `claude --continue` resumes the latest one and `claude --resume` lists the rest, but both only see sessions on that same machine. A second computer has neither the history nor, usually, the same files in the same state.

The approach that holds up is to stop moving anything: run Claude Code on one machine that is always on, and reach it from whichever device you are using.

## Keep the session on a workspace

An EnvHaven workspace is that machine. Choose Claude Code from the workspace's **Launch** menu and sign in once; the sign-in is saved on the workspace, so every device that opens it is signed in. From then on, any device resumes the same session:

- **A browser tab** on a laptop, a desktop, an iPad or a phone opens the workspace's terminal mid-sentence, because the session never stopped.
- **An SSH app or a terminal** lands in the same tmux session, once you add your public key, or import it from GitHub, under Remote Access in the workspace's EnvHaven sidebar.
- **The Haven CLI** syncs the project to a local folder, so your own editor sees the files the agent is changing.

A second computer needs nothing installed beyond a browser. The agent's files, its conversation and the app it is building are where it left them.

## Without a workspace

### tmux on a server you manage

Run Claude Code inside tmux on a server of your own, and `tmux attach` from each computer over SSH. Once the server, the install, the sign-in and SSH are set up, it behaves like the workspace above.

### Move the files, start a new session

Push your branch, pull it on the other computer, and start Claude Code there. You lose the conversation but keep the work. Ask the first session for a short summary before you leave and paste it into the new one; a good CLAUDE.md does the rest.

This is the least effort when you switch machines once in a while.

### Move the session with the files

Session history is just files. Copying both the project and Claude Code's session folder to the other machine can work, but the paths have to match, and it is easy to resume a conversation against code that has since changed. It can rescue a conversation once and is too fragile to do every day.

## What carries over

| Approach | Conversation | Files | Running processes |
| --- | --- | --- | --- |
| One always-on machine (a workspace, or tmux on your server) | Yes | Yes | Yes |
| Push and pull | No | Yes | No |
| Copy the session folder | Sometimes | Yes | No |

## Keep reading

- [Does Claude Code keep running when you close your laptop?](https://envhaven.com/guides/does-claude-code-keep-running-when-you-close-your-laptop)
- [Run Claude Code on iPad](https://envhaven.com/agents/claude-code/ipad)
- [Run Claude Code 24/7](https://envhaven.com/agents/claude-code/24-7)
- [Context compaction](https://envhaven.com/glossary/context-compaction)

Source: https://envhaven.com/guides/resume-claude-code-session-on-another-computer
