WendyOS Docs
Wendy CLIdevicepower-mode

wendy device power-mode set

Switch the NVIDIA Jetson power mode

Syntax

wendy device power-mode set <name|id> [flags]

Examples

wendy device power-mode set --help

Arguments

Argument notation from the CLI: <name|id>. Angle brackets mark required values; square brackets mark optional values. See Details for command-specific validation.

Flags

Flags below include inherited options. Types and defaults come from the CLI source. An empty default means no value is configured.

FlagTypeDefaultDescription
--devicestring(empty)Target device host (hostname, IP, or host:port); 'wendy run' accepts a comma-separated list to deploy one build to several devices (needs a remote build host and --detach). Defaults to $WENDY_DEVICE, then the saved default device
--jsonboolfalseOutput in JSON format
--yes / -yboolfalseSet the mode and reboot the device without asking when the mode needs a reboot (required without an interactive terminal)

Output

Output depends on the operation and selected target. Use the command help for additional guidance..

JSON output

The global --json option requests machine-readable output. The CLI also selects JSON mode when no interactive terminal is attached. Support and payloads are command-specific; this flag does not guarantee a single JSON document for commands that stream logs or invoke build tools. Consult Details before parsing command output.

Exit codes

The CLI entry point returns 0 on success and for its user-cancelled or default-cleared results. Other returned errors exit with 1 and print a diagnostic to stderr. Some operations may terminate through subprocess or signal handling; do not infer application health from the CLI exit code alone.

Common errors

Check argument values and flag combinations against the synopsis above. For discovery, build, port, and readiness failures, see deployment troubleshooting. Command-specific constraints are in Details.

See also

Details

Switches a Jetson device to the named or numbered power mode, as listed by 'wendy device power-mode'. Some modes only take effect after a reboot. For those, the command says so and asks for confirmation; answering yes sets the mode and reboots the device in one step, and answering no leaves the device untouched. Without a terminal, pass --yes to confirm in advance.

Use the command help for additional guidance.

On this page