Skip to content
Documentation
On this page

Local service and upgrades

Executor CLI 2.0.0-beta.79 usage, arguments, flags and examples for local service and upgrades.

These commands come from Executor CLI 2.0.0-beta.79 and cover executor serve through executor upgrade. See global flags and command groups.

executor serve

Start without opening a browser

executor serve [flags]

executor service

Manage the background Executor server that local clients share

executor service <subcommand> [flags]

executor service start

Start the background server, or confirm that it runs, and print its URL

executor service start [flags]

executor service stop

Stop the background server

executor service stop [flags]

executor service restart

Stop the background server and start it again

executor service restart [flags]

executor service status

Print the background server’s URL, version and process, starting or stopping before them while it starts or stops, or stopped

executor service status [flags]

executor service get

Print the background server’s settings, or one setting

executor service get [flags] [<key>] [<name>]
Option Description
key choice Setting name: port, env or disabled (optional)
name string Variable name, for env (optional)

executor service set

Change a setting. Stops the background server so it restarts with it

executor service set [flags] <key> <value> [<env-value>]
Option Description
key choice Setting name: port, env or disabled
value string New value; for env, the variable name
env-value string Variable value, for env (optional)

executor service unset

Remove a setting. Stops the background server so it restarts without it

executor service unset [flags] <key> [<name>]
Option Description
key choice Setting name: port, env or disabled
name string Variable name, for env (optional)

executor service pair

Print a new connection link for the running server

executor service pair [flags]

executor service rotate-key

Replace the saved local API key. Run executor service restart to use it, then update clients that used the old key

executor service rotate-key [flags]

executor upgrade

Install the newest Executor release on this installation’s channel, or the given version. A standalone install keeps the previous version for –rollback

executor upgrade [flags] [<version>]
Option Description
version string Release to install, such as 2.0.0-beta.16. Default: the newest (optional)
Option Description
--method choice Package manager to install with, instead of the detected one (choices: npm, pnpm, bun, yarn)
--yes, -y Do not ask for confirmation; required to downgrade without a terminal
--rollback Switch a standalone install back to the version it ran before its last upgrade

Was this page helpful?