Skip to main content
Use devbox logs to stream the retained and live output of an execution, or list retained executions on a Devbox.

devbox logs

Replay the output retained for an execution, then follow new output until the execution completes. The execution ID is printed by devbox exec --detach and appears in devbox logs list.

Usage

Follow an execution

Options

boolean
default:"false"
Include Devboxes owned by other workspace members when selecting a Devbox.

devbox logs list

List retained executions. The default table shows each execution’s ID, command, start time, and status. Status is running, completed, or failed with its exit code.

Usage

List executions as JSON

When the Devbox has no retained executions, the default output is:
Output

Options

string
Set the output format to json. Leave empty for a table.
The inherited --show-all option is documented under devbox logs above.

Execute commands

Start executions and inspect their retained output.
Last modified on August 28, 2026