Update from Agents
An agent row that runs an older Passport says Update available. Its one control is Update:- Click Update. The row says Updates on next run.
- The next time the Passport CLI runs on that computer (a command you type, or an agent’s hook), it installs the new version in the background. Nothing you run waits for it.
- The row says Up to date. A local bridge picks up the new version when its agent restarts, so until then its row says Restart Codex to finish updating (with your agent’s name).
What an update does
- It installs exactly the version Passport names: the newest version Passport has verified on npm. Never a range or a tag like
latest, and never a version npm doesn’t have. - It installs into a new folder, checks the new version starts and reports that exact version, then switches Passport’s launcher over in one step. If anything goes wrong, the old launcher stays and nothing changes.
- Your agents’ hooks keep the same command (
~/.passport/cli/bin/passport), so Claude Code, Codex, and Cursor need no changes, and Codex keeps trusting Passport’s hooks. The Passport plugin follows the same launcher. - A command already running keeps running on the version it started with.
- Passport learns only the old and new version numbers and, if it failed, a reason such as “npm could not be reached.” npm’s output never leaves your computer.
Update from the terminal
passport update works even when automatic updates are off.
Turn automatic updates off
PASSPORT_AUTO_UPDATE=off (for example on a managed computer or in CI) also stops the background checks. Passport never checks for updates in CI or from an agent token.
Update everyone (owners)
On Pro and Enterprise, owners switch Agents to Everyone to see which agents are behind: their rows say Update available. Each person updates their own from Agents, or withnpx passport-bridge@latest init on that computer.