> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flowdeck.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Location

> Set or clear the simulator location

Set or clear a simulated GPS location with the `simulator location` group.

```bash theme={null}
# Show group examples
flowdeck simulator location --examples
```

## flowdeck simulator location set

Set simulator location coordinates.

```bash theme={null}
# Set location on the booted simulator
flowdeck simulator location set 37.7749,-122.4194

# Target a specific simulator
flowdeck simulator location set 37.7749,-122.4194 --udid <UDID>

# JSON output
flowdeck simulator location set 37.7749,-122.4194 --json

# Show usage examples
flowdeck simulator location set 37.7749,-122.4194 --examples
```

### Options

| Option        | Short | Description                                                |
| ------------- | ----- | ---------------------------------------------------------- |
| `--udid <id>` | `-u`  | Target simulator UDID (defaults to first booted simulator) |
| `--json`      | `-j`  | Output as JSON                                             |
| `--examples`  | `-e`  | Show usage examples                                        |

<Note>
  Coordinates must be in `latitude,longitude` format.
</Note>

***

## flowdeck simulator location clear

Clear a simulated location override (the inverse of `set`).

```bash theme={null}
# Clear the override on the booted simulator
flowdeck simulator location clear

# Target a specific simulator
flowdeck simulator location clear --udid <UDID>

# JSON output
flowdeck simulator location clear --json
```

### Options

| Option        | Short | Description                                                |
| ------------- | ----- | ---------------------------------------------------------- |
| `--udid <id>` | `-u`  | Target simulator UDID (defaults to first booted simulator) |
| `--json`      | `-j`  | Output as JSON                                             |
| `--examples`  | `-e`  | Show usage examples                                        |
