> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zocomputer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Run command

> Run a single shell command on the computer.

Zo can execute shell commands in a bash session, allowing for system operations, script execution, and command-line automation. Use cases include: System automation (execute scripts, manage files, automate tasks), Data processing (process files, run analysis scripts, manage datasets), Environment setup (install packages, configure environments).

## Parameters

**cmd** `string` *required*

The shell command string to execute.

**cwd** `string` (default: /home/workspace)

The working directory in which to execute the command. Defaults to the user's workspace root.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.