{
  "id": 22354327,
  "title": "My Mac reboot used to kill every Claude Code session I had open. Now one command brings them all back.",
  "url": "https://urgent.news/2026/11/28/my-mac-reboot-used-to-kill-every-claude-code-session-i-had-open-now",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-28T11:33:02.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/dennis-ddev/my-mac-reboot-used-to-kill-every-claude-code-session-i-had-open-now-one-command-brings-them-all-4l2m"
  },
  "original_language": null,
  "account": "Claude Code users in iTerm2 used to lose all open sessions after a Mac restart, forcing them to manually restore each project. To solve this, User0856 created Claude Resurrect 2.0, a script that automatically restores every Claude session to its original tab and folder after a reboot. The script works by creating a snapshot of each active session, which includes the session ID, folder location, and start time. When the Mac reboots, the script scans for running Claude processes and matches them to their corresponding snapshots. It then opens iTerm2, navigates to the correct folder, and resumes each session using the \"claude --resume\" command. The tool also handles edge cases, such as sessions that were killed during the reboot or tabs that are not in a plain shell prompt. With one command, users can restore all their Claude sessions and continue working seamlessly. The tool was built using Claude Code itself, and has undergone extensive testing to ensure reliability.",
  "summary": "I live in iTerm2. On a normal day I have somewhere between five and twenty Claude Code sessions open, one per tab, each sitting in its own project. Some of them have been running for days. They know the codebase, they know what we tried yesterday and why it didn't work, and a couple of them have scheduled tasks and subagents going. Then macOS decides it's time for an update. After the restart…",
  "summary_source": "publisher",
  "key_points": [
    "Claude Code sessions lost after Mac restarts",
    "Claude Resurrect 2.0 restores sessions automatically",
    "One command brings all Claude sessions back"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}