> ## 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#L40](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/variable.py#L40)</sup>

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

List variables.

### `inspect` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/variable.py#L101](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/variable.py#L101)</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#L139](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/variable.py#L139)</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#L192](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/variable.py#L192)</sup>

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

Unset a variable.
