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

# run

> Alias for monorepo:run — run package.json scripts across packages and modules with granular caching.

Short alias for [`monorepo:run`](/cli/commands/monorepo-run). It forwards every option untouched, so `talos run --commands=build,lint` behaves exactly like `talos monorepo:run --commands=build,lint`. Use it to run one or more `package.json` scripts across the packages and modules of your workspace, in dependency order, with a content-addressed task cache.

## Usage

```bash theme={null}
talos run --commands=<command,...> [options]
```

## Examples

Build and lint every package and module:

```bash theme={null}
talos run --commands=build,lint
```

Run only specific modules and packages:

```bash theme={null}
talos run --commands=build,lint --modules=billing,user --packages=billing,user
```

Stream plain logs instead of the interactive view (for CI):

```bash theme={null}
talos run --commands=test --logs
```

Force every task to re-run, ignoring the cache:

```bash theme={null}
talos run --commands=build --no-cache
```

## Options

| Option       | Description                                                   | Default                  |
| ------------ | ------------------------------------------------------------- | ------------------------ |
| `--commands` | Comma-separated script names to run, in order. Required.      | —                        |
| `--packages` | Comma-separated package names to include (under `packages/`). | All packages and modules |
| `--modules`  | Comma-separated module names to include (under `modules/`).   | All packages and modules |
| `--logs`     | Stream plain log lines instead of the interactive view.       | `false`                  |
| `--no-cache` | Skip reading and writing the task cache.                      | `false`                  |

See the [`monorepo:run`](/cli/commands/monorepo-run) reference for the full details on execution order, caching, and output.
