CLI
Control machines from a terminal, script, or agent.1
Install the CLI
2
Set your API key
Get a Dedalus API key from the Dashboard and set it in your shell.
3
Create a machine
The CLI calls the Machines API.Every flag is optional. With no flags you get a 1 vCPU machine with
4096 MiB of memory, 10 GiB of storage, and a 5-minute autosleep window. Pass
--vcpu, --memory-mib, --storage-gib, or --autosleep to override.Save the machine_id. Later commands use it.4
Run a command
The CLI runs commands directly, without opening a shell.Save the
execution_id. Use it to retrieve the result.5
Get the result
Poll the execution until its status is
succeeded, then fetch the captured output.