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

# variable

# `prefect.cli.variable`

Variable command — native cyclopts implementation.

Manage Prefect variables.

## Functions

### `list_variables` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/variable.py#L39](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/variable.py#L39)</sup>

```python theme={null}
list_variables()
```

List variables.

### `inspect` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/variable.py#L100](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/variable.py#L100)</sup>

```python theme={null}
inspect(name: str)
```

View details about a variable.

### `get` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/variable.py#L138](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/variable.py#L138)</sup>

```python theme={null}
get(name: str)
```

Get a variable's value.

### `unset` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/variable.py#L191](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/variable.py#L191)</sup>

```python theme={null}
unset(name: str)
```

Unset a variable.
