How to Safely Migrate OpenAI Codex to a New Mac Without Losing Local State

Moving OpenAI Codex to a new Mac requires more than signing into the same ChatGPT account, as local conversations, project state, custom skills, and Git metadata remain on the old machine. Developers must treat the process as a one-time migration rather than a sync, since blindly copying internal Codex databases between two active installations can cause conflicts or duplicate machine identities. Before transferring any data, the new Mac should have Codex installed and signed in independently so it retains its own authentication and device identity. Key items to migrate separately include portable Codex conversations, user configurations, complete Git metadata such as stashes and worktrees, and any workspace paths referenced by local Codex state. A safe checklist approach — staging files before replacing live data, keeping the old Mac intact until verified, and closing Codex on both machines during finalization — helps ensure a clean, recoverable transfer.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in