Skip to main content

login

Log in via browser OAuth.
machine0 login
Alias: auth Opens your browser. After you approve access, the CLI stores a session token at ~/.machine0/auth-token.

logout

Log out and revoke the session token.
machine0 logout
If you have MACHINE0_API_TOKEN set as an environment variable, logging out won’t affect it. Unset the variable separately.

account

Show account details and wallet balance.
machine0 account
┌──────────────────────────────────────┐
│ Email             you@example.com    │
│ Wallet Balance    $9.02              │
│ Auto Top-Up       enabled            │
└──────────────────────────────────────┘

topup

Add funds to your wallet via Stripe checkout.
machine0 topup --amount <dollars>
FlagDescription
-a, --amount <dollars>Required. Amount in USD (minimum $5)
machine0 topup --amount 10
machine0 topup -a 25

config get

Show current CLI configuration.
machine0 config get

config set

Set one or more configuration values.
machine0 config set <KEY=VALUE> [KEY=VALUE ...]
machine0 config set DEFAULT_VM_SIZE=large
machine0 config set DEFAULT_VM_SIZE=large DEFAULT_VM_REGION=us
See Configuration for all available settings.

use openclaw

Create an OpenClaw VM and SSH into it.
machine0 use openclaw
Creates a medium or larger VM with OpenClaw pre-installed. The VM name is auto-generated with an openclaw- prefix. Logs you in first if needed.