cmux CloudCloud CLI Reference
cmux Cloud

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 newCloudMachine

Offered 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.

CommandAction ID
cmux cloud apply-machine-configcloudApplyMachineConfig
cmux cloud bring-backcloudBringBack
cmux cloud delete-snapshotpalette.cloud.deleteSnapshot
cmux cloud deliver-secretscloudDeliverSecrets
cmux cloud diagnosticscloudDiagnostics
cmux cloud domain-listcloudDomainList
cmux cloud enroll-machinecloudEnrollMachine
cmux cloud execcloudExec
cmux cloud file-mkdircloudFileMkdir
cmux cloud file-readcloudFileRead
cmux cloud file-removecloudFileRemove
cmux cloud file-statcloudFileStat
cmux cloud file-writecloudFileWrite
cmux cloud files-listcloudFilesList
cmux cloud firewall-createcloudFirewallCreate
cmux cloud firewall-deletecloudFirewallDelete
cmux cloud firewall-getcloudFirewallGet
cmux cloud firewall-listcloudFirewallList
cmux cloud fork-machinepalette.cloud.fork
cmux cloud hand-off-machinepalette.cloud.handoff
cmux cloud kill-machinecloudKillMachine
cmux cloud list-machinescloudListMachines
cmux cloud machine-linkcloudMachineLink
cmux cloud machine-portspalette.cloud.ports
cmux cloud machine-statuspalette.cloud.status
cmux cloud movecloudMove
cmux cloud network-listcloudNetworkList
cmux cloud new-machinenewCloudMachine
cmux cloud new-terminal-on-machinecloudNewTerminal
cmux cloud new-workspacenewCloudWorkspace
cmux cloud open-browsercloudOpenBrowser
cmux cloud open-desktopcloudOpenDesktop
cmux cloud open-mobile-pairingpalette.mobileConnect
cmux cloud pause-machinecloudPauseMachine
cmux cloud port-closecloudPortClose
cmux cloud port-forwardcloudPortForward
cmux cloud port-listcloudPortList
cmux cloud prepare-scpcloudPrepareSCP
cmux cloud promote-machine-to-templatepalette.cloud.promoteTemplate
cmux cloud publication-listcloudPublicationList
cmux cloud rename-machinecloudRenameMachine
cmux cloud resize-machinecloudResizeMachine
cmux cloud restore-machinepalette.cloud.restore
cmux cloud resume-machinecloudResumeMachine
cmux cloud set-idle-pausecloudSetIdlePause
cmux cloud setup-githubcloudSetupGitHub
cmux cloud sign-inpalette.auth.signIn
cmux cloud sign-outpalette.auth.signOut
cmux cloud snapshot-machinepalette.cloud.snapshot
cmux cloud sshcloudSSH
cmux cloud start-sessioncloudStartSession
cmux cloud tunnel-attachcloudTunnelAttach
cmux cloud tunnel-detachcloudTunnelDetach
cmux cloud tunnel-rotate-keycloudTunnelRotateKey

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/NAME

Hand-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>'

Quickstart and current limitations

Quickstart and current limitations