tuist sandbox create
Boot a bare sandbox from a template. Useful to try a template before connecting an environment.
Arguments#
account Optional#
Account handle. Defaults to the account in the project's full handle.
tuist sandbox create --account [account]
path Optional#
Project directory.
tuist sandbox create --path [path]
tuist sandbox create -p [path]
json Optional#
Return the response as JSON. Unknown optional values are omitted.
tuist sandbox create --json
platform Optional#
linux or macos. Defaults to linux, or macos with --xcode.
tuist sandbox create --platform [platform]
xcode Optional#
macOS: the exact Xcode version to boot, such as 26.1.1, from those the server's macOS sandboxes serve. Implies --platform macos. Defaults to the server's default Xcode. A sandbox keeps its Xcode.
tuist sandbox create --xcode [xcode]
template Optional#
Template name. Defaults to the server's default template for the platform.
tuist sandbox create --template [template]
vcpus Optional#
vCPUs: 2, 4 or 8 on Linux, 8 on macOS. Pass it with --memory-gb.
tuist sandbox create --vcpus [vcpus]
memory-gb Optional#
Memory in GB: 4, 8 or 16 on Linux (with 2, 4 or 8 vCPUs), 8, 16 or 24 on macOS. Pass it with --vcpus.
tuist sandbox create --memory-gb [memory-gb]
workspace-gb Optional#
Workspace disk size in GB (1–100).
tuist sandbox create --workspace-gb [workspace-gb]
guaranteed-vcpus Optional#
Linux: the vCPUs the sandbox is guaranteed while it runs, whatever the rest of its node does: 1, 2, 4 or 8. Without it, a quarter vCPU per GB of memory; with it, the larger of the two. The sandbox bursts into idle cores past its guarantee, and is billed for at least it. A sandbox keeps its guarantee.
tuist sandbox create --guaranteed-vcpus [guaranteed-vcpus]
lifetime-minutes Optional#
How long the sandbox may run, from creation and again after each resume: 5 to 1440 minutes, 120 by default. Then its running commands are cancelled and it is paused and archived, keeping its files. Extend it with tuist sandbox extend.
tuist sandbox create --lifetime-minutes [lifetime-minutes]
wait-timeout Optional#
How long to wait for a host when every one is busy, such as 5m or 90s, up to 60m. Without it, the create fails with fleet_busy after the server's 25-second wait. With it, it tries again every 30 seconds or so until then, and fails with fleet_busy when no host freed up.
tuist sandbox create --wait-timeout [wait-timeout]