CLI Reference

Every dxflow command, flag, and option, and where each one runs

One binary drives everything the engine can do. The same commands work against the engine on your machine and against a remote one — pointing the CLI elsewhere is a configuration change, not a different command.

Command groups

CommandDescriptionHelp
bootEngine lifecycle controldxflow boot --help
keyAuthentication key managementdxflow key --help
configConfig controldxflow config --help
licenseLicense managementdxflow license --help
engineEngine information, health, and updatesdxflow engine --help
shellShell session managementdxflow shell --help
workflowWorkflow lifecycle, logs, and statisticsdxflow workflow --help
artifactFile storage on the engine volumedxflow artifact --help
agentLLM agent sessionsdxflow agent --help
platformConnect the engine to a dxflow platform accountdxflow platform --help

Global options

Global flags go before the command:

Terminal
dxflow [GLOBAL_FLAGS] <command> [FLAGS]
FlagShorthandDescriptionTypeDefault
--config-profile-CSpecify the config profilestringdefault
--log-level-LSpecify the log levelstringinfo
--no-color-NDisable color outputboolfalse

Where a command runs

Every command runs from your machine, but they differ in what they can reach:

  • Remote — when connection-address is set on the active profile, the command targets that engine instead of the local one. See Remoting.
  • Instant — with no engine running and no remote configured, the command spawns a temporary engine, does its work, and shuts it down. An instant engine lives exactly as long as the command that spawned it, so anything whose work outlives the call — booting, shells, starting a workflow — needs a persistent engine from boot up.
  • Local only — neither applies: the command reads or writes state on this machine.

Resolution order is remote → running local engine → instant engine. Remote commands always use the server's engine, never an instant one.

GroupCommandRemoteInstant
Bootboot up--
Bootboot down--
Configconfig get--
Configconfig set--
Configconfig unset--
Licenselicense activate--
Licenselicense deactivate--
Licenselicense info--
Platformplatform login--
Platformplatform info--
Platformplatform logout--
Keykey generate--
Keykey register✓✓
Keykey unregister✓✓
Keykey list✓✓
Engineengine token--
Engineengine update--
Engineengine info✓✓
Engineengine pair✓-
Engineengine ping✓-
Engineengine healthcheck✓-
Engineengine stats✓-
Shellshell list✓-
Shellshell create✓-
Shellshell connect✓-
Shellshell remove✓-
Workflowworkflow list✓✓
Workflowworkflow create✓-
Workflowworkflow events✓✓
Workflowworkflow steps✓✓
Workflowworkflow logs✓✓
Workflowworkflow stats✓✓
Workflowworkflow start✓-
Workflowworkflow stop✓✓
Workflowworkflow remove✓✓
Workflowworkflow prune✓✓
Workflowworkflow hub search✓✓
Workflowworkflow hub inspect✓✓
Artifactartifact list✓✓
Artifactartifact create✓✓
Artifactartifact upload✓✓
Artifactartifact download✓✓
Artifactartifact rename✓✓
Artifactartifact share✓✓
Artifactartifact zip✓✓
Artifactartifact unzip✓✓
Artifactartifact delete✓✓
Agentagent create✓✓
Agentagent prompt✓-
Agentagent list✓✓
Agentagent inspect✓✓
Agentagent remove✓✓

Root shortcuts

Six commands answer at the root as well, with the same flags:

Terminal
dxflow token         # dxflow engine token
dxflow ping          # dxflow engine ping
dxflow healthcheck   # dxflow engine healthcheck
dxflow stats         # dxflow engine stats
dxflow login         # dxflow platform login
dxflow logout        # dxflow platform logout

Aliases

The binary answers to dxf, each group has a short form, and most subcommands take a familiar Unix name:

GroupAliasSubcommand aliases
workflowflowls · make · log · rm · hub find
artifactartls · touch · push · pull · mv · rm
shellshls · new · join · rm
agentails · new · ask · rm
key—ls · add · remove · gen
license—active · deactive
platform—connect · disconnect
engine—healthy · stat
Terminal
dxf flow ls
dxf art push ./data.csv
dxf ai ask <identity> "start"

Common operations

Terminal
# Configuration
dxflow config set connection-address "https://server.com"
dxflow config get connection-address

# Engine lifecycle
sudo dxflow boot up --console --daemon
dxflow boot down

# Target a remote engine with a named profile
dxflow -C prod workflow list
dxflow -C prod engine stats
Remote setup: see Remoting for profiles, key authentication, and multi-environment management.