On Windows the Claude CLI swaps in a fresh marketplace clone by renaming it, which fails with EPERM while antivirus, indexers, or open sessions briefly hold the folder. Retry the update up to three times with a short backoff on EPERM, EBUSY, EACCES, or "try again" errors; other failures still stop at once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>