Skip to content
Runtime

Run commands as root

A command, background process or terminal now takes user: "root" and runs as root, with its environment, PATH and working directory kept and HOME set to /root, so nothing needs a sudo in front. The default is still the sandbox user, runtime, and each process says which it runs as. It is in the API, MCP, the JavaScript, Python, Go, Ruby and Java SDKs, and the CLI (--root on exec, spawn, run and shell). Coming from Freestyle, whose VMs run as root? See how to switch.

100 free hoursin your first 30 days.

of a 1 GB machine

  • No credit card
  • Four sandboxes at once, 2 vCPU and 4 GiB each
  • Then prepaid credit from $10, no plan fee
Start free, no card
Start free, no card