# Create a workspace

Canonical page: https://docs.ovok.com/cli/reference/create-ovok

{/* Written by pnpm docs:generate from the command's spec. Edit the spec, not this page. */}

```bash
pnpm create ovok [name] [options]
```

Flags answer their questions; the rest are asked, or take the recommended setup with `--yes`.

## Options [#options]

| Option | Type | Default | Description |
| --- | --- | --- | --- |
| `--platform <web\|mobile\|mobile-web>` | string |  | The apps to start with |
| `--type <ios\|android>` | string |  | Build the mobile app for one platform only |
| `--tenant <code>` | string |  | Ovok tenant code (recommended: public-example) |
| `--base-url <url>` | string |  | Ovok API URL (recommended: https://api.sandbox.ovok.com) |
| `--yes`, `-y` | boolean |  | Take the recommended setup for every unanswered question |
| `--skip-install` | boolean |  | Do not run pnpm install |
| `--disable-git` | boolean |  | Do not create a git repository |
| `--help`, `-h` | boolean |  | Show this help |
| `--version`, `-v` | boolean |  | Show the create-ovok version |

## Inside a workspace (pnpm turbo gen runs these) [#inside-a-workspace-pnpm-turbo-gen-runs-these]

- `add <name> --platform web|mobile [--type ios|android]`: Add an app
- `add-package <name>`: Add a shared package
- `agents`: Refresh the Ovok rules in every AGENTS.md

## Examples [#examples]

```bash
pnpm create ovok my-app
pnpm create ovok my-app --platform web --yes
```
