devbox acquire with the same tag can then reuse the Devbox.
Usage
Examples
Acquire a Devbox for a task
Release the resulting lease
Options
string
Set the access mode to
private or shared. When omitted, workspace defaults apply.boolean
default:"true"
Activate the Devbox immediately after creation.
boolean
default:"false"
Include all images when selecting an image.
duration
Stop the Devbox after it has been idle for this duration, such as
30m or 1h.string
Select the repository to check out. The workspace default is used when this option is omitted.
boolean
default:"true"
Use the closest site when selecting where to create the Devbox.
string
Specify a dotfiles repository to use.
boolean
default:"false"
Create an ephemeral Devbox.
string
Load the Devbox specification from a JSON, YAML, or TOML file. Use
- for standard input, which defaults to YAML. A tag argument is required when reading the specification from standard input.string
Force the input specification format to
json, yaml, or toml.string
Use the specified image name or reference. The CLI prompts for an image when one is not otherwise configured.
string
Use the specified image reference. This option is mutually exclusive with
--image.string
Set the Devbox name instead of generating one from the tag.
boolean
default:"false"
Skip repository checkout, including the workspace default. This option is mutually exclusive with
--checkout.boolean
default:"true"
Use persistent storage for a newly created Devbox.
string
Select
linux[/amd64] or macos[/arm64]. --machine_type is an alias.strings
Enable private features, such as
EXP_PERSISTENT_VOLUME_IS_XFS.string
Add a free-form description of what the Devbox is for.
boolean
default:"false"
Configure
gh and Git authentication from the local GitHub token. Requires --activate.string
Use the specified site.
string
Select
s, m, l, or xl for Linux, or m or l for macOS. The CLI prompts when no size or tenant default is available.int
Set the volume size in GiB. A platform default is used when omitted.
Related topics
Release a Devbox lease
Return an acquired Devbox for later reuse.
Create a Devbox
Create a Devbox without acquiring it by tag.