# tuist generate run

Generates an Xcode workspace to start working on the project.

## Arguments

### path `Optional`

**Environment variable** `TUIST_GENERATE_PATH`

The path to the directory or a subdirectory of the project.

```bash
tuist generate run --path [path]
tuist generate run -p [path]
```

### query `Optional`

Targets to focus on, specified by name or tag query (e.g. 'tag:feature'). Other targets will be linked as binaries if possible. If no target is specified, all the project targets will be generated (except external ones, such as Swift packages).

```bash
tuist generate run [query]
```

### open `Optional`

**Environment variable** `TUIST_GENERATE_OPEN`

Don't open the project after generating it.

```bash
tuist generate run --open
tuist generate run -o
```

### no-open `Optional`

**Environment variable** `TUIST_GENERATE_OPEN`

Don't open the project after generating it.

```bash
tuist generate run --no-open
```

### binary-cache `Optional`

**Environment variable** `TUIST_GENERATE_BINARY_CACHE`

Ignore binary cache and use sources only.

```bash
tuist generate run --binary-cache
```

### no-binary-cache `Optional`

**Environment variable** `TUIST_GENERATE_BINARY_CACHE`

Ignore binary cache and use sources only.

```bash
tuist generate run --no-binary-cache
```

### cache-profile `Optional`

**Environment variable** `TUIST_GENERATE_CACHE_PROFILE`

Binary cache profile to use: only-external, all-possible, none, or a custom profile name. Defaults to the profile configured in Tuist.swift, or 'only-external' if not configured.

```bash
tuist generate run --cache-profile [cache-profile]
```

### configuration `Optional`

Configuration to generate for.

```bash
tuist generate run --configuration [configuration]
tuist generate run -c [configuration]
```
