Upgrade and migrate from Executor 1
Upgrade or roll back the Executor CLI, replace Executor 1 commands, resolve local owner migration banners, and keep Cloud v1 MCP URLs working.
Use executor upgrade to install the newest Executor release on your channel (Local), executor upgrade --rollback to revert a standalone script install, and the guides below when moving from Executor 1 (Local and Cloud).
Prerequisites: An existing Executor 2 CLI install (to upgrade) or an Executor 1 installation or Cloud v1 organization (to migrate).
You’ll know it worked when executor --version prints the target release (for example executor v2.0.0-beta.79) and executor service status reports the local server running that version.
Upgrade or roll back the CLI
executor and executor serve check npm at most once a day for a newer release on your channel and print a reminder to run executor upgrade. Beta installs are notified when a newer stable release ships. The check never installs anything, skips in CI, and can be disabled with EXECUTOR_NO_UPDATE_CHECK=1.
executor upgrade # newest release on your channel
executor upgrade 2.0.0-beta.79 # install a specific release
executor upgrade --rollback # switch a standalone script install back to the previous release
executor upgrade --method pnpm # force a specific package manager (npm, pnpm, bun, yarn)
executor upgrade --yes # skip confirmation prompt (required for downgrades without a terminal)
How executor upgrade behaves depends on how Executor was installed:
- Install script (standalone): Downloads the release, verifies it against the release’s
SHA256SUMS, confirms the new binary starts, and flips~/.executor/v2/runtime/currentto it. The previous version stays in~/.executor/v2/runtime/versions/, soexecutor upgrade --rollbackswitches straight back. - npm, pnpm, Bun, or Yarn: Detects which package manager installed Executor (or uses
--method npm|pnpm|bun|yarn), verifies your Node.js version meets the new launcher’s requirement, runs the package manager install, and checksexecutor --version. If Executor cannot tell which package manager installed it, it prints the install command for each one instead of guessing. - Homebrew: Upgrade with
brew upgradeinstead ofexecutor upgrade. npx,bunx, orpnpm dlx: There is nothing installed to upgrade; runnpx executor@betato launch the newest release.
On an interactive terminal, executor upgrade asks before installing unless you pass --yes (-y). Without a terminal (agents or CI), upgrades proceed automatically, while downgrading to an older version still requires an explicit version and --yes.
Because upgrading replaces the binaries the background server runs from, executor upgrade and executor upgrade --rollback stop the background server first and start it again on the new version afterward. If the upgrade fails or is cancelled, the previous version starts again. If the new version fails to start, the upgrade itself still finishes and instructs you to run executor service start.
If you upgrade outside executor upgrade (brew upgrade, npm i -g, or the install script), a running background server detects that its executable was replaced and stops within five seconds so the next command starts the new version. On Windows, stop the server first with executor service stop because Windows locks running executables.
Your ~/.executor/v2/cli data directory stays the same when beta transitions to stable, and uninstalling the package never deletes your data or keys.
Desktop app updates
The desktop app shares the background Executor with the CLI. It checks for updates in the background and prompts before restarting to install them. Beta installs follow beta releases and move to stable once stable is newer. On Linux, only the AppImage auto-updates; for .deb packages, install the newer .deb over the existing one.
Coming from Executor 1
If executor --version still reports v1 after installing Executor 2, your shell is resolving an older install earlier on PATH. Check which binary wins:
# macOS / Linux
type -a executor
# Windows
where.exe executor
Remove the old install with the package manager that installed it (for example bun remove -g executor), then open a new terminal. Removing the v1 binary does not delete your data.
Executor 2 removes Executor 1’s web, open, daemon, install, tools, server, and docs commands; running them reports an unknown command.
| Executor 1 | Executor 2 |
|---|---|
executor web |
executor starts the background Executor if needed and opens the dashboard. |
executor open |
executor service pair prints a connection link for the background Executor. |
executor daemon run |
executor service start starts the background Executor without opening a browser. |
executor install, executor service install |
Nothing to install. executor or executor service start runs the background Executor until executor service stop; it does not start on OS boot. |
executor service uninstall |
Nothing to remove. Run executor service stop. |
executor tools |
executor search and executor describe. |
executor call, executor resume, executor mcp, executor login |
Still present with updated flags; see Use Executor from a shell. |
executor server |
No server profiles. Commands accept --host and remember the last host you signed in to; executor service rotate-key replaces executor server rotate-token. |
executor docs |
Open executor.sh/docs. |
Records under another owner (Local)
Local Executor keeps all apps, accounts, and OAuth clients under one local owner. If an upgraded local database contains records left under another owner ID, the local dashboard shows one of two banners:
- “Records of other owners wait to move”: Shown when the server was started with
EXECUTOR_DATA_STEPS=report(dry-run mode). Restart Executor withoutEXECUTOR_DATA_STEPSso the move can run. - “Records of other owners could not move”: Shown when moving records failed because of either:
- Collisions (
collision): Another owner already holds anapp_name,app_slug, oroauth_client_credentialsentry with the same name/slug or provider/client ID as the active owner. Rename or remove the duplicate app or OAuth client and restart Executor. - Unreadable encrypted records (
blocked): One or more encrypted records could not be decrypted with the current key. Depending on the record type listed in the banner:oauth_clientoroauth_grant: Remove the listed client withDELETE /v1/oauth-clients/<id>(authenticating withAuthorization: Bearer $EXECUTOR_API_KEY) and restart Executor.oauth_sign_in: Expires automatically after 10 minutes; restart Executor after it expires.tool_approval: Expires automatically after 15 minutes; restart Executor after it expires.account_connection: Restore the backup from before the key changed, or reset local data if the original key is lost.
- Collisions (
After fixing the listed item and restarting the local server (executor service restart), you’ll know it worked when the banner disappears from the dashboard.
Executor v1 MCP URLs (Cloud)
On Cloud, organizations moved from Executor v1 keep their legacy MCP URLs working so existing MCP client configurations do not break immediately:
/<v1-slug-or-org_id>/mcp— connects to the migrated organization matching that v1 slug ororg_…ID./mcp/toolkits/<toolkit>— scopes MCP access to the migrated copy of that v1 app./<selector>/mcp/toolkits/<toolkit>— combines both an organization selector and a specific migrated app.
Each legacy URL acts as its own OAuth resource. Re-authenticate your MCP client to the organization named by the URL if prompted; the client will only see the migrated app when using a /toolkits/<toolkit> URL. When you are ready to switch to the standard endpoint, point your client at https://api.executor.sh/mcp.
This compatibility routing exists on Cloud only; Local and Self-host do not serve v1 legacy URLs.
Example
Upgrade a standalone CLI install and verify the new version, or roll back if needed:
executor upgrade --yes
executor --version
executor service status
If an upgrade introduced a problem on a standalone script install, return to the prior version:
executor upgrade --rollback
executor --version
Limits
executor upgrade --rollbackworks only for installations created by the standalone install script (install.sh/install.ps1), not npm, pnpm, Bun, Yarn, or Homebrew installs.- Rolling back or downgrading to a release from before the background Executor existed removes
executor service; on such releases, runexecutor serveorexecutorand keep it running. - A background Executor started from a development build is left running during
executor upgrade. - Executor never updates the CLI without being asked.