Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.machine0.io/llms.txt

Use this file to discover all available pages before exploring further.

Install

curl -LsSf https://machine0.io/install.sh | sh
Or via npm: npm install -g @machine0/cli

Create a VM

machine0 new my-vm
Override defaults with --image, --size, --region. Change defaults permanently with config set (configuration).

SSH in

machine0 ssh my-vm
The VM has a dedicated IP, HTTPS at https://my-vm.mac0.io, and root access via sudo. The CLI uses your ~/.ssh/id_rsa.pub by default. See SSH.

Manage VMs

machine0 ls             # list VMs
machine0 get my-vm      # details
machine0 stop my-vm     # stop (still billed -- resources reserved)
machine0 suspend my-vm  # snapshot + destroy (pay only storage)
machine0 start my-vm    # start a stopped or suspended VM
machine0 rm my-vm       # destroy permanently

Snapshot and clone

machine0 images new my-vm my-snapshot
machine0 rm my-vm
machine0 new my-clone --image my-snapshot --size xxl
See Images.