CLI Reference

Clawctl CLI

The fastest path from signup to a running secure managed OpenClaw deployment.

npm install -g clawctl-cli

Install

Via npm (recommended)

npm install -g clawctl-cli

Via npx (no install)

npx clawctl-cli login

Quick Start

  1. Install the CLI: npm i -g clawctl-cli
  2. Sign up and authenticate: clawctl login
  3. Check your deployment: clawctl status

Command Reference

CommandAliasesDescription
login--manualAuthenticate via browser (device flow)
logoutsignoutSign out and remove saved credentials
checkoutsubscribeOpen checkout page in browser
whoamiShow tenant identity and plan
statusDashboard: plan, usage, health, approvals
opendashboardOpen gateway dashboard in browser
pausestopStop your agent immediately (kill switch)
resumestartRestart your agent after pause
openclawocRun OpenClaw CLI commands
version--version, -vShow CLI version
help--help, -hShow help message

Examples

# Sign up and get your API key
clawctl login

# Subscribe to Team plan directly
clawctl checkout team

# Check your deployment status
clawctl status

# Open your gateway in the browser
clawctl open

# Emergency stop
clawctl pause

# Restart after pause
clawctl resume

Configuration

The easiest way to authenticate is the device flow:

clawctl login

This saves your credentials to ~/.clawctl/config.json. You can also set an environment variable instead (takes priority over the config file):

export OPENCLAW_TENANT_KEY="your-api-key-here"

Environment Variables

VariableRequiredDescription
OPENCLAW_TENANT_KEYYesYour tenant API key (from checkout or dashboard)

Kill Switch (Pause / Resume)

Instantly stop your agent if something goes wrong. The kill switch physically stops the container — no requests are processed while paused.

# Stop your agent immediately
clawctl pause

# Restart your agent
clawctl resume

# Check current status
clawctl status

Safety First

The kill switch is always available, regardless of plan. It works even if your agent is unresponsive. Use it whenever you need to immediately stop all agent activity.

CLI Troubleshooting

"Authentication Required"

Your OPENCLAW_TENANT_KEY is not set. Run clawctl login to authenticate via browser, or set it manually: export OPENCLAW_TENANT_KEY="your-key"

"Cannot connect to API"

The CLI cannot reach the Clawctl API. Check your internet connection and try again.

"Subscription Required"

Your account exists but has no active subscription. Run clawctl checkout to subscribe, or visit your dashboard to update payment info.

"Gateway is still provisioning"

Your gateway hasn't finished deploying yet. First-time provisioning can take up to 60 seconds. Run clawctl status to check progress.

Ready to get started?

Deploy your first secure managed OpenClaw

Choose a plan and start deploying in under 60 seconds. Hardened defaults, audit logging, and human approvals included.

View Pricing