Cloud CLI reference (NEXT)
These are the Cloud actions offered by the cmux NEXT CLI. An offered command can still be unavailable on a particular machine image. The image checked on 2026-10-29 does not yet support native agent chat tabs, opening dev-server browser tabs, local port forwarding, forks or automatic idle pause.
Copy the machine:<id> target from list-machines and pass --target explicitly for machine commands, even with one machine. Use --help for command syntax and cmux action describe with the action ID for arguments and return fields.
cmux cloud list-machines
cmux cloud machine-status --target 'machine:<id>'
cmux cloud new-machine --help
cmux action describe newCloudMachineOffered actions
This list is generated from the NEXT action catalog and excludes GUI-only actions. It lists available command names, not a guarantee that every machine supports them.
| Command | Action ID |
|---|---|
cmux cloud apply-machine-config | cloudApplyMachineConfig |
cmux cloud bring-back | cloudBringBack |
cmux cloud delete-snapshot | palette.cloud.deleteSnapshot |
cmux cloud deliver-secrets | cloudDeliverSecrets |
cmux cloud diagnostics | cloudDiagnostics |
cmux cloud domain-list | cloudDomainList |
cmux cloud enroll-machine | cloudEnrollMachine |
cmux cloud exec | cloudExec |
cmux cloud file-mkdir | cloudFileMkdir |
cmux cloud file-read | cloudFileRead |
cmux cloud file-remove | cloudFileRemove |
cmux cloud file-stat | cloudFileStat |
cmux cloud file-write | cloudFileWrite |
cmux cloud files-list | cloudFilesList |
cmux cloud firewall-create | cloudFirewallCreate |
cmux cloud firewall-delete | cloudFirewallDelete |
cmux cloud firewall-get | cloudFirewallGet |
cmux cloud firewall-list | cloudFirewallList |
cmux cloud fork-machine | palette.cloud.fork |
cmux cloud hand-off-machine | palette.cloud.handoff |
cmux cloud kill-machine | cloudKillMachine |
cmux cloud list-machines | cloudListMachines |
cmux cloud machine-link | cloudMachineLink |
cmux cloud machine-ports | palette.cloud.ports |
cmux cloud machine-status | palette.cloud.status |
cmux cloud move | cloudMove |
cmux cloud network-list | cloudNetworkList |
cmux cloud new-machine | newCloudMachine |
cmux cloud new-terminal-on-machine | cloudNewTerminal |
cmux cloud new-workspace | newCloudWorkspace |
cmux cloud open-browser | cloudOpenBrowser |
cmux cloud open-desktop | cloudOpenDesktop |
cmux cloud open-mobile-pairing | palette.mobileConnect |
cmux cloud pause-machine | cloudPauseMachine |
cmux cloud port-close | cloudPortClose |
cmux cloud port-forward | cloudPortForward |
cmux cloud port-list | cloudPortList |
cmux cloud prepare-scp | cloudPrepareSCP |
cmux cloud promote-machine-to-template | palette.cloud.promoteTemplate |
cmux cloud publication-list | cloudPublicationList |
cmux cloud rename-machine | cloudRenameMachine |
cmux cloud resize-machine | cloudResizeMachine |
cmux cloud restore-machine | palette.cloud.restore |
cmux cloud resume-machine | cloudResumeMachine |
cmux cloud set-idle-pause | cloudSetIdlePause |
cmux cloud setup-github | cloudSetupGitHub |
cmux cloud sign-in | palette.auth.signIn |
cmux cloud sign-out | palette.auth.signOut |
cmux cloud snapshot-machine | palette.cloud.snapshot |
cmux cloud ssh | cloudSSH |
cmux cloud start-session | cloudStartSession |
cmux cloud tunnel-attach | cloudTunnelAttach |
cmux cloud tunnel-detach | cloudTunnelDetach |
cmux cloud tunnel-rotate-key | cloudTunnelRotateKey |
Secrets on this Mac
secret set reads the value from a hidden prompt or stdin and stores it in this Mac's Keychain. Never put a secret value in command arguments. set and rm accept --repo OWNER/NAME; ls lists stored names and scopes. Delivery requires a finished machine config that declares the secret names. Applying a config and delivering secrets have not yet been verified end to end on the image checked on 2026-10-29.
cmux cloud secret set NAME
cmux cloud secret set NAME --repo OWNER/NAME
cmux cloud secret ls
cmux cloud secret rm NAME
cmux cloud secret rm NAME --repo OWNER/NAMEHand-off and chat moves
hand-off-machine returns text about a machine; it does not move a chat. move and bring-back move chat tabs between this Mac and a Cloud machine. They require compatible chat support; do not use them as the workaround for an image without agent chat tabs. Run the agent in a remote terminal instead.
cmux cloud hand-off-machine --target 'machine:<id>'