# UPGRADE_EXIT_CODE

<!-- https://uncage.vercel.app/docs/api/agent/variables/upgrade_exit_code/ -->

```ts
const UPGRADE_EXIT_CODE: 75 = 75;
```

Defined in: agent/src/agent.ts:51

Exit code after a self-upgrade: non-zero so the service manager (launchd / systemd / Task Scheduler) restarts the new version.
