> ## 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.

# build

> Alias for monorepo:run --commands=build — run the build script across packages and modules with granular caching.

Short alias for [`monorepo:run`](/cli/commands/monorepo-run) with the command list fixed to `build`. It runs the `build` script across every package and module of your workspace, in dependency order, with a content-addressed task cache. Every other option is forwarded untouched.

## Usage

```bash theme={null}
talos build [options]
```

This is equivalent to:

```bash theme={null}
talos monorepo:run --commands=build
```

## Examples

Build every package and module:

```bash theme={null}
talos build
```

Scope the build to specific modules and packages:

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

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

```bash theme={null}
talos build --logs
```

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

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

## Options

| Option       | Description                                                   | Default                  |
| ------------ | ------------------------------------------------------------- | ------------------------ |
| `--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`                  |

<Note>
  Unlike [`monorepo:run`](/cli/commands/monorepo-run), `build` takes no
  `--commands` option — the command list is fixed to `build`.
</Note>

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