Manage Virtual Machines from the CLI — list, get, create, update, delete (incl. bulk-delete), power, reboot, hard-reboot, reinstall, factory-reset, rename, reset-password, resize, resize-disk, save-image, plus IP, firewall, VPC, tags, notes, and networks subcommands.
Updated May 8, 2026The raff vm command group covers every Virtual Machine operation in the public API. Each subcommand also supports --output json for scripting.
raff vm list [--project-id <uuid>] [--output table|json]
List every VM in the current project. Output columns: ID, NAME, STATUS, IP ADDRESS, CPU, RAM, STORAGE, REGION, CREATED.
# Default tableraff vm list# JSON for scriptingraff vm list --output json | jq '.[] | {id, name, status}'# In a non-default projectraff vm list --project-id <other-project-id>
Create a new VM. Required: --name, --template-id, --pricing-id, --region. Get template IDs via List Templates and pricing IDs via List VM Pricing or the Pricing page.
Delete the VM. By default, attached volumes detach (preserved) and VPCs are kept — pass --volume-action delete to also remove volumes and --delete-vpc to remove VPCs (shared VPCs are auto-preserved if other VMs still use them). Pass --force to skip the confirmation prompt — required in scripts. The dashboard exposes the same options as a two-step confirmation dialog; see Delete a VM for the full rules.
Delete multiple VMs in one call. Required: --ids. By default, attached volumes detach (preserved) and VPCs are kept; pass --volume-action delete to also remove volumes, and --delete-vpc to remove VPCs no longer in use. Shared VPCs are auto-preserved if other VMs still use them — see Delete a VM.
raff vm start <vm-id> # Boot upraff vm stop <vm-id> # Graceful shutdownraff vm reboot <vm-id> # Graceful rebootraff vm hard-reboot <vm-id> # Force reboot — no graceful shutdown, data may be lost
Use hard-reboot only when graceful reboot is hung. The API behavior matches the dashboard — see Manage power.
Resets the root (Linux) or Administrator (Windows) password to a new generated value. Output shows the new password — copy it immediately. The VM reboots if active to apply the change.