# cscli collections

## cscli collections[​](#cscli-collections "Direct link to cscli collections")

Manage hub collections

TEXTCOPY

```
cscli collections <action> [item]... [flags]
```

### Examples[​](#examples "Direct link to Examples")

TEXTCOPY

```
cscli collections list -a
cscli collections install crowdsecurity/http-cve crowdsecurity/iptables
cscli collections inspect crowdsecurity/http-cve crowdsecurity/iptables
cscli collections upgrade crowdsecurity/http-cve crowdsecurity/iptables
cscli collections remove crowdsecurity/http-cve crowdsecurity/iptables
```

### Options[​](#options "Direct link to Options")

TEXTCOPY

```
  -h, --help   help for collections
```

### Options inherited from parent commands[​](#options-inherited-from-parent-commands "Direct link to Options inherited from parent commands")

TEXTCOPY

```
      --color string    Output color: yes, no, auto (default "auto")
  -c, --config string   path to crowdsec config file (default "/etc/crowdsec/config.yaml")
      --debug           Set logging to debug
      --error           Set logging to error
      --info            Set logging to info
  -o, --output string   Output format: human, json, raw
      --trace           Set logging to trace
      --warning         Set logging to warning
```

### SEE ALSO[​](#see-also "Direct link to SEE ALSO")

* [cscli](https://docs.crowdsec.net/docs/next/cscli/.md) - cscli allows you to manage crowdsec
* [cscli collections inspect](https://docs.crowdsec.net/docs/next/cscli/cscli_collections_inspect.md) - Inspect given collection(s)
* [cscli collections install](https://docs.crowdsec.net/docs/next/cscli/cscli_collections_install.md) - Install given collection(s)
* [cscli collections list](https://docs.crowdsec.net/docs/next/cscli/cscli_collections_list.md) - List collection(s)
* [cscli collections remove](https://docs.crowdsec.net/docs/next/cscli/cscli_collections_remove.md) - Remove given collection(s)
* [cscli collections upgrade](https://docs.crowdsec.net/docs/next/cscli/cscli_collections_upgrade.md) - Upgrade given collection(s)
