New machine. Install Claude Code. And then: Claude knows nothing. The development rules encoded in the global CLAUDE.md, the reference guides, the statusline displaying token consumption in real time, the plugins — all of it stayed on the old machine.
The bad news: none of this syncs automatically. The good news: everything lives in files. A single prompt can rebuild the complete environment in minutes — provided you prepared that prompt in advance.
What lives in ~/.claude/
The Claude Code global environment is concentrated in one folder: ~/.claude/. What you'll find there:
CLAUDE.md — global instructions: how to work, which rules apply across all projects






