(lxc_completion.md)=
# `lxc completion`

Generate the autocompletion script for the specified shell

## Synopsis

Generate the autocompletion script for lxc for the specified shell.
See each sub-command's help for details on how to use the generated script.


## 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](lxc.md)	 - Command line client for LXD
* [lxc completion bash](lxc_completion_bash.md)	 - Generate the autocompletion script for bash
* [lxc completion fish](lxc_completion_fish.md)	 - Generate the autocompletion script for fish
* [lxc completion powershell](lxc_completion_powershell.md)	 - Generate the autocompletion script for powershell
* [lxc completion zsh](lxc_completion_zsh.md)	 - Generate the autocompletion script for zsh

```{toctree}
:titlesonly:
:glob:
:hidden:

completion/*
```
