Sandboxes

sim sandboxes is also spelled sim sandbox.

Every command below also accepts the global options.

Create sandbox

sim sandboxes create [options]

Create Sandbox (personal API key required)

Options

OptionRequiredDescription
--name <value>YesDisplay name, unique within the workspace; 1 to 64 characters.
--language <value>YesDependency ecosystem: javascript installs from npm, python from PyPI. Accepted values: javascript, python.
--dependencies <value...>NoPackage specifiers installed into the sandbox, one per entry. (space-separated, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @).
--cli-tools <value...>NoPinned managed CLI ids installed into the sandbox, at most 10, no duplicates. (space-separated, or @path / @- with one value per line; @@value for a literal leading @).
--system-packages <value...>NoDebian packages installed into the sandbox, one per entry. (space-separated, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @).

Delete sandbox

sim sandboxes delete <sandboxId> [options]

Delete Sandbox (personal API key required)

Arguments

ArgumentRequiredDescription
sandboxIdYesUnique sandbox identifier.

Options

OptionRequiredDescription
-y, --yesYesConfirm this operation.

Get sandbox

sim sandboxes get <sandboxId>

Arguments

ArgumentRequiredDescription
sandboxIdYesUnique sandbox identifier.

List sandboxes

sim sandboxes list [options]

Options

OptionRequiredDescription
--search <value>NoCase-insensitive substring match against the sandbox name.
--sort-by <value>NoField used to sort the result. Sorting by name is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: name, createdAt, updatedAt.
--sort-order <value>NoSort direction. Accepted values: asc, desc.
--limit <n>NoMaximum items to return (0 for everything). Defaults to 100.

Update sandbox

sim sandboxes update <sandboxId> [options]

Update Sandbox (personal API key required)

Arguments

ArgumentRequiredDescription
sandboxIdYesUnique sandbox identifier.

Options

OptionRequiredDescription
--name <value>NoNew display name, unique within the workspace; 1 to 64 characters.
--language <value>NoReplacement dependency ecosystem. The whole spec is revalidated against it, so a Python dependency list does not survive a switch to JavaScript. Accepted values: javascript, python.
--dependencies <value...>NoReplacement package list; replaces the whole list. (space-separated, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @).
--cli-tools <value...>NoReplacement managed CLI list; replaces the whole list. (space-separated, or @path / @- with one value per line; @@value for a literal leading @).
--system-packages <value...>NoReplacement Debian package list; replaces the whole list. (space-separated, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @).

On this page