(incus_config_device_add.md)=
# `incus config device add`

Add instance devices

## Synopsis
```{line-block}

[96;1;4mDescription:[0;22;24m
  Add instance devices



```
```
incus config device add [2m[[22m[32m<remote>[0m:[2m][22m[32m<instance>[0m [32m<new device name>[0m [32m<type>[0m [2m[[22m[32m<key>[0m=[32m<value>[0m[2m...[22m[2m][22m [flags]
```

## Examples

```
  incus config device add [<remote>:]instance1 <device-name> disk source=/share/c1 path=/opt
      Will mount the host's /share/c1 onto /opt in the instance.

  incus config device add [<remote>:]instance1 <device-name> disk pool=some-pool source=some-volume path=/opt
      Will mount the some-volume volume on some-pool onto /opt in the instance.
```

## Options inherited from parent commands

```
      --debug          Show all debug messages
      --explain        If the command is valid, explain its parsed arguments instead of running it
      --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

* [incus config device](incus_config_device.md)	 - Manage devices

