devbox session to list persistent terminal sessions on a running Devbox or connect to a named session. Connecting activates the selected Devbox.
Usage
devbox session connect
Connect to a named terminal session. Sessions use tmux on Linux and macOS, and psmux on Windows. If you omit --session, the CLI prompts you to select an existing session or enter a name for a new one. A non-interactive invocation must provide a session name.
On Windows, session names are case-insensitive and must be valid filenames without dots or surrounding whitespace.
Usage
Connect to a named session
Options
devbox session list
List terminal sessions on a running Devbox. The default table contains each session’s name and creation time. JSON output also includes the command when the session has one.
Usage
List sessions as JSON
Output
Options
Related topics
SSH & Sessions
Create and use persistent sessions.
Execute commands
Run non-interactive retained executions.