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

# config

# `prefect.cli.config`

Config command — native cyclopts implementation.

Manages Prefect settings and profiles.

## Functions

### `set_` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/config.py#L36](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/config.py#L36)</sup>

```python theme={null}
set_(settings: Annotated[list[str], cyclopts.Parameter(help='Settings in VAR=VAL format')]) -> None
```

Change the value for a setting by setting the value in the current profile.

### `validate` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/config.py#L90](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/config.py#L90)</sup>

```python theme={null}
validate() -> None
```

Read and validate the current profile.

Deprecated settings will be automatically converted to new names.

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

```python theme={null}
unset(setting_names: Annotated[list[str], cyclopts.Parameter(help='Setting names to unset')]) -> None
```

Restore the default value for a setting.

Removes the setting from the current profile.

### `view` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/config.py#L162](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/config.py#L162)</sup>

```python theme={null}
view() -> None
```

Display the current settings.
