# create

## Usage

```bash
bdy domain create|add [options] <name>
```

## Arguments

| **Argument** | **Description** |
| :--- | :--- |
| `name` | Domain name (required) |

## Options

| **Option** | **Description** |
| :--- | :--- |
| `--context <name>` | Connection and scope context: default, git, link or a saved name. Overrides the globally active context for this invocation. |
| `--examples` | Show only examples; with this flag --format accepts text, json or jsonl |
| `--verbose` | Show REST API requests, responses, timing and retries on stderr |
| `-w, --workspace <domain>` | Workspace URL handle. Can be set via variable: BUDDY_WORKSPACE |
| `-t, --type <POINTED|PRIVATE>` | Domain type: POINTED (default) or PRIVATE. Use `bdy domain buy` to register or claim a domain |
| `--format <text|json>` | Output format: json, text. JSON CLI errors: {error:{code,message,hint}}, exit 1. Default: text (choices: "text", "json") |
| `-h, --help` | display help for command |

## Examples

### Add a domain you own and point it to Buddy

```bash
bdy domain create example.com
```

### Create a private domain

```bash
bdy domain create internal.lan --type PRIVATE
```


---
Original source: https://buddy.works/docs/cli/domain/create