(lxc_config_edit.md)=
# `lxc config edit`

Edit instance or server configurations as YAML

## Synopsis

Description:
  Edit instance or server configurations as YAML



```
lxc config edit [<remote>:][<instance>[/<snapshot>]] [flags]
```

## Examples

```
  lxc config edit <instance> < instance.yaml
      Update the instance configuration from config.yaml.
```

## Options

```
      --target   Cluster member name
```

## Options inherited from parent commands

```
      --debug          Show all debug messages
      --force-local    Force using the local unix socket
  -h, --help           Print help
      --project        Override the source project
  -q, --quiet          Don't show progress information
      --sub-commands   Use with help or --help to view sub-commands
  -v, --verbose        Show all information messages
      --version        Print version number
```

## SEE ALSO

* [lxc config](lxc_config.md)	 - Manage instance and server configuration options

