The comfy CLI is for launching and working with comfy from a terminal, and a self-hosted agent can register with it.

npx -y comfy-cli@latest --help

It needs Node 22 or newer (nodejs.org, or brew install node). To keep it, npm i -g comfy-cli@latest, then run comfy. If comfy is not found, or is older than the version a step needs, use npx -y comfy-cli@latest in its place: a run started through npx prints its own next steps that way.

Before registering an agent or signing in, follow the CLI connection instructions on npm.

Launching from the CLI needs the deployment manifest of the network you launch on and an RPC URL. comfy does not publish the manifest, so to launch a token on 0G mainnet, use the launch page.

Every command, its configuration and its errors: comfy-cli on npm.