devbox exec to run a non-interactive command on a Devbox. The execution and its output are retained so you can inspect them with devbox logs.
Usage
devbox exec must appear before the Devbox name because flag parsing stops at the first positional argument.
Run a command and wait
Start a detached execution
Output
Options
boolean
default:"false"
Start the command, print its execution ID, and return without waiting for completion.
boolean
default:"false"
Include Devboxes owned by other workspace members when selecting a Devbox.
Related topics
Execute commands
Learn how executions and retained logs work.