# ocloud run

Source: https://olef.dev/docs/reference/ocloud/run

Generated from **ocloud 3.17.3**. [All ocloud commands](https://olef.dev/docs/reference/ocloud) · [Olef Cloud overview](https://olef.dev/docs/cloud/overview) · [`olef` commands](https://olef.dev/docs/reference/commands)

Run a command inside the linked cloud workspace and sync project changes back

Global options (`--org`, `--project-root`, `--quiet`, `--redact`) apply across commands; see the [`ocloud` command catalog](https://olef.dev/docs/reference/ocloud#global-options).

## ocloud run

Run a command inside the linked cloud workspace (`ocloud run -- <cmd...>`), syncing project changes back

```bash
ocloud run --help
```

| Argument | Description |
| --- | --- |
| `--no-sync-back` | Don't apply the command's source changes locally |
| `--env` | Forward a host environment variable by name as a secret (`--env NAME`) |
| `<command>` | **Required.** The command to execute in the workspace, after `--` |
