# Create Flag Compatibility Matrix

Targets `@tanstack/cli` v0.62.1.

## Compatibility

| Flag | Works with normal create | Works with `--router-only` | Notes |
|---|---|---|---|
| `--framework` | yes | yes | Framework is still honored in both modes. |
| `--toolchain` | yes | yes | Toolchain selection remains available. |
| `--add-ons` | yes | no | Ignored in router-only mode. |
| `--deployment` | yes | no | Ignored in router-only mode. |
| `--template` / `--starter` | yes | no | Ignored in router-only mode. |
| `--template-id` | yes | no | Ignored in router-only mode. |
| `--tailwind` / `--no-tailwind` | deprecated/ignored | deprecated/ignored | Tailwind is always enabled. |

Source: `packages/cli/src/command-line.ts:337`

## Recommended command construction order

1. Choose mode (`--router-only` or full scaffold).
2. If full scaffold, resolve add-ons and deployment first.
3. Add framework and toolchain.
4. Pass explicit add-on ids and use `-y` only after flags are final.

## Safe presets

```bash
# Full scaffold preset
npx @tanstack/cli create app --framework react --add-ons tanstack-query --deployment netlify -y

# Router-only preset
npx @tanstack/cli create app --router-only --framework react --toolchain biome -y
```
