> For the complete documentation index, see [llms.txt](https://docs.rumi.systems/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rumi.systems/rumi-cli/commands/cloud/local/run-command.md).

# run-command

Execute a command on a running service container.

## Syntax

```bash
rumi cloud local run-command --name <container-name> --command <command>
```

## Options

| Option      | Short | Description                   | Required |
| ----------- | ----- | ----------------------------- | -------- |
| `--name`    | `-n`  | Name of the service container | Yes      |
| `--command` | `-c`  | Command to execute            | Yes      |

## Example

```bash
rumi cloud local run-command --name processor-1 --command "ls -la /opt/rumi"
```

## See Also

* [list-instances](/rumi-cli/commands/cloud/local/list-instances.md)
* [launch-instance](/rumi-cli/commands/cloud/local/launch-instance.md)
