# Execute a command

Collection: cli
Human docs: https://zei.sh/docs/cli

Stream a command through sandboxd.

Command: zeishctl sandboxes exec SANDBOX_ID -- COMMAND
Stdout and stderr are streamed and the exit code is printed.

Example:

```
zeishctl sandboxes exec SANDBOX_ID -- COMMAND
```
