Skip to content
Documentation
On this page

Command line

Install the executor command to run Executor locally on your machine, or sign in to a Self-host or Cloud Executor from a shell.

The executor command runs Executor on your machine (Local) for one person and also acts as a shell and stdio MCP client for Local, Self-host, and Cloud Executor hosts.

Install the beta release with npm i -g executor@beta (Node 14.18.0 or newer; a bare npm i -g executor installs v1.6.11 without apps), or use the install script or Homebrew without Node. Run executor to start the background server and open the local dashboard.

Prerequisites: macOS (Apple Silicon or Intel), Linux with glibc (ARM64 or x64), or Windows (x64). No source checkout, Node runtime, or Bun runtime is needed after installation.

You’ll know it worked when executor --version prints executor v2.0.0-beta.79 and executor opens the dashboard in your browser.

Install and start

With npm, on Node 14.18.0 or newer. The package is a launcher that downloads Executor's own runtime for your platform on first run, so Node only starts it. Check that executor --version prints 2.0.0-beta.79 before starting. Supports macOS on Apple Silicon and Intel, Linux (glibc) on ARM64 and x64, and Windows on x64.

npm i -g executor@beta
executor --version
executor

Without Node, on macOS or Linux: the script checks the download against the release's SHA256SUMS and links ~/.local/bin/executor.

curl -fsSL https://executor.sh/docs/install.sh | sh
executor --version
executor

Without Node, on Windows, in PowerShell:

irm https://executor.sh/docs/install.ps1 | iex

With Homebrew, on macOS or Linux:

brew install usefulsoftwareco/tap/executor-beta

executor starts the background Executor if it is not running, opens the dashboard in your browser, and exits. Executor ships as one executable with its runtime, dashboard, Git, and workerd beside it.

  • npm launcher: The first time a version runs, it downloads that release’s platform archive from the public GitHub release, verifies its SHA-256 checksum, and caches it in ~/.executor/v2/launcher/<version>. Set EXECUTOR_DOWNLOAD_URL to point at a release mirror.
  • Install script: Keeps each release under ~/.executor/v2/runtime/versions/, points ~/.executor/v2/runtime/current at the active version, and links ~/.local/bin/executor to it without editing your shell profile. On Windows, the script adds %USERPROFILE%\.executor\v2\runtime\current to your user PATH. Pass a version argument to install a specific release, for example curl -fsSL https://executor.sh/docs/install.sh | sh -s -- 2.0.0-beta.79.
  • Desktop app: If you prefer a window over a browser tab, install the desktop app — it shares the same background server and ~/.executor/v2/cli data directory.

Download the desktop installer.

Commands

Command Purpose
executor Start the background Executor if it is not running, open the dashboard, and exit. Accepts --standalone and --server <url>.
executor serve Run Executor in the current terminal without opening a browser until you press Ctrl+C.
executor service Start, stop, restart, inspect, and configure the background Executor; print a connection link or rotate its local API key.
executor login, executor apps login, executor logout, executor whoami Sign in to a Self-host or Cloud host for tool commands or app commands, sign out, and inspect the active sign-in.
executor search, describe, call, execute, resume, skills Search, inspect, and call app tools and skills from a shell.
executor mcp Serve the resolved host’s MCP endpoint to an MCP client over stdio.
executor apps Create, edit, deploy, share, and install apps. See Author an app.
executor upgrade Install the newest release on your channel, or switch back with --rollback.

All subcommands also accept --help (-h), --version (-v), --wizard, --completions <bash|zsh|fish|powershell|sh|pwsh>, and --log-level <level>.

The background Executor

One background server handles all local commands and the desktop app for a data directory. Manage it with executor service start, stop, restart, status, get, set, unset, pair, and rotate-key. See Background server and key storage.

Configure it

Set EXECUTOR_PORT, EXECUTOR_DATA_DIR, EXECUTOR_KEY_STORAGE, EXECUTOR_API_KEY, EXECUTOR_ENCRYPTION_KEY, EXECUTOR_BROWSER_ORIGIN, EXECUTOR_WEBHOOK_ORIGIN, EXECUTOR_NO_UPDATE_CHECK, or DO_NOT_TRACK / EXECUTOR_DISABLE_ANALYTICS to customize the local server. See Background server and key storage.

Use your tools from a shell

Sign in to a Self-host or Cloud host with executor login (tools and executor mcp) or executor apps login (app commands), or omit both to target the local background Executor. Run executor search, describe, call, execute, resume, and skills from any shell. See Use Executor from a shell.

Serve your tools to an MCP client

Run executor mcp to bridge the resolved host’s MCP endpoint over stdio for clients that launch a command, such as claude mcp add executor -- executor mcp. See Use Executor from a shell.

Connect an agent

Open the local dashboard and use the Connect card to add the local MCP endpoint to Claude Code, Cursor, or Codex, or bridge it over stdio with executor mcp. After restarting your computer, run executor or executor service start first so the local MCP endpoint is listening. See Add an MCP client.

Coming from Executor 1

If executor --version still prints v1, another installation is earlier on your PATH, and Executor 1 commands such as web, daemon, tools, and server have moved to new names. See Upgrade and migrate from Executor 1.

Back up and update

Back up ~/.executor/v2/cli together with its matching OS credential or keys.json, and update with executor upgrade or roll back a standalone install with executor upgrade --rollback. See Upgrade and migrate from Executor 1 and Background server and key storage.

Limits

  • Running npm i -g executor without @beta installs Executor v1 (1.6.11), which does not support apps or Executor 2 commands.
  • Linux installs require glibc (musl distributions such as Alpine are not supported).
  • The background Executor does not register with your OS service manager, so it does not start automatically on boot.

Was this page helpful?