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

# cue-fmt

> cue-fmt is a formatter for CUE files that improves consistency and readability. Learn how to install, configure, and run cue-fmt.

[**cue-fmt**](https://cuelang.org) is a formatter for Cue.

You can enable the cue-fmt formatter with:

```shell theme={null}
trunk check enable cue-fmt
```

## Auto Enabling

cue-fmt will be auto-enabled if any *Cue* files are present.

## Links

* [cue-fmt site](https://cuelang.org)
* cue-fmt Trunk Code Quality [integration source](https://github.com/trunk-io/plugins/tree/main/linters/cue-fmt)
* Trunk Code Quality's [open source plugins repo](https://github.com/trunk-io/plugins/tree/main)
