←back to thread

Claude Code Checkpoints

(claude-checkpoints.com)
184 points punnerud | 2 comments | | HN request time: 0.414s | source
Show context
MacroStan ◴[] No.45059902[source]
Here's what I do to survive macos updates, random restarts, crashes etc. I had Claude Code to configure all of this:

Terminal Setup: - Alacritty as your terminal - tmux as your session manager - Auto-start tmux in Alacritty configuration

  Key Protection:
  # Alacritty auto-starts tmux sessions
  tmux new-session -s main  # Creates persistent session

  # tmux shortcuts (prefix: Ctrl+a)
  # Sessions persist even if terminal closes

  Plugins:
 tmux-resurrect and tmux-continuum plugins to automatically save/restore sessions with a simple "dev" command.

  The tmux session will survive terminal crashes/closes, so you can reconnect to your Claude session by reopening Alacritty (which auto-attaches)
replies(2): >>45068939 #>>45149869 #
1. zhuravel ◴[] No.45068939[source]
Why not use `claude --continue`?
replies(1): >>45071195 #
2. MacroStan ◴[] No.45071195[source]
I've tried claude --resume and it did not work. Also, I have 4 claude windows going on all the time. I do not know how to recreate all 4