# cscli setup interactive

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

Interactive setup

### Synopsis[​](#synopsis "Direct link to Synopsis")

Detect services and generate configuration, with user prompts

TEXTCOPY

```
cscli setup interactive [flags]
```

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

TEXTCOPY

```
# Detect running services, install the appropriate collections and acquisition configuration.
# prompt the user for confirmation at each step
cscli setup interactive

# write acquisition files to a specific directory
cscli setup interactive --acquis-dir /path/to/acquis.d

# use a different set of detection rules
cscli setup interactive --detect-config /path/to/detact.yaml
```

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

TEXTCOPY

```
      --detect-config string   path to service detection configuration, will use $CROWDSEC_SETUP_DETECT_CONFIG if defined (default "/var/lib/crowdsec/data/detect.yaml")
      --ignore strings         ignore a detected service (can be repeated)
      --force strings          force the detection of a service (can be repeated)
      --skip-systemd           don't use systemd, even if available
      --acquis-dir string      Directory for the acquisition configuration
      --dry-run                simulate the installation without making any changes
  -h, --help                   help for interactive
```

### 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 setup](https://docs.crowdsec.net/docs/next/cscli/cscli_setup.md) - Tools to configure crowdsec
