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

# ctrlc apply

> Apply resource definitions from YAML files

The `ctrlc apply` command creates or updates resources in Ctrlplane from YAML
definition files.

## Usage

```bash theme={null}
ctrlc apply -f <file>
```

## Flags

| Flag     | Short | Required | Description                               |
| -------- | ----- | -------- | ----------------------------------------- |
| `--file` | `-f`  | Yes      | Path to the YAML resource definition file |

## Example

```bash theme={null}
ctrlc apply -f resource.yaml
```

## Next Steps

<CardGroup cols={2}>
  <Card title="CLI Overview" icon="terminal" href="/cli/overview">
    All CLI commands
  </Card>

  <Card title="Resources" icon="cube" href="/concepts/resources">
    Learn about resources
  </Card>
</CardGroup>
